@@ -109,28 +109,6 @@ class SetKeys extends React.Component {
109 this.setState({ networkSeed })
109 this.setState({ networkSeed })
112− downloadKeyfile(networkSeed) {
113− const { pointCache } = this.props
114− const { pointCursor } = this.props
116− const point = pointCursor.matchWith({
117− Just: (pt) => pt.value,
119− throw BRIDGE_ERROR.MISSING_POINT
123− const pointDetails =
126− : (() => { throw BRIDGE_ERROR.MISSING_POINT })()
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`)
134 createUnsignedTxn() {
112 createUnsignedTxn() {
135 const { state, props } = this
113 const { state, props } = this
@@ -231,7 +209,9 @@ class SetKeys extends React.Component {
231 pushRoute={props.pushRoute}
209 pushRoute={props.pushRoute}
233 canGenerate={ canGenerate }
211 canGenerate={ canGenerate }
234− createUnsignedTxn={this.createUnsignedTxn} />
212+ createUnsignedTxn={this.createUnsignedTxn}
213+ networkSeed={ state.networkSeed }
214+ setNetworkSeedCache={ props.setNetworkSeedCache } />