@@ -109,28 +109,6 @@ class SetKeys extends React.Component {
109109 this.setState({ networkSeed })
110110 }
111111
112− downloadKeyfile(networkSeed) {
113− const { pointCache } = this.props
114− const { pointCursor } = this.props
115−
116− const point = pointCursor.matchWith({
117− Just: (pt) => pt.value,
118− Nothing: () => {
119− throw BRIDGE_ERROR.MISSING_POINT
120− }
121− })
122−
123− const pointDetails =
124− point in pointCache
125− ? pointCache[point]
126− : (() => { throw BRIDGE_ERROR.MISSING_POINT })()
127−
128− const revision = parseInt(pointDetails.keyRevisionNumber)
129− const keyfile = genKey(networkSeed, point, revision)
130− let blob = new Blob([keyfile], {type:"text/plain;charset=utf-8"});
131− saveAs(blob, `${ob.patp(point).slice(1)}-${revision}.key`)
132− }
133−
134112 createUnsignedTxn() {
135113 const { state, props } = this
136114
@@ -231,7 +209,9 @@ class SetKeys extends React.Component {
231209 pushRoute={props.pushRoute}
232210 // Tx
233211 canGenerate={ canGenerate }
234− createUnsignedTxn={this.createUnsignedTxn} />
212+ createUnsignedTxn={this.createUnsignedTxn}
213+ networkSeed={ state.networkSeed }
214+ setNetworkSeedCache={ props.setNetworkSeedCache } />
235215
236216 </Col>
237217 </Row>