Skip to content

Commit

Permalink
fix: set previous url when set system script
Browse files Browse the repository at this point in the history
  • Loading branch information
classicalliu committed Oct 18, 2019
1 parent d5c527a commit 7753c4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/neuron-wallet/src/models/lock-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default class LockUtils {

static setSystemScript(info: SystemScript) {
LockUtils.systemScriptInfo = info
LockUtils.previousURL = NodeService.getInstance().core.rpc.node.url
SystemScriptSubject.next({ codeHash: info.codeHash })
}

Expand Down

0 comments on commit 7753c4f

Please sign in to comment.