Send JSON reply after successfully decrypting wallet
This commit is contained in:
parent
92a79baeff
commit
8f38a43964
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,7 @@ func WalletPassphrase(reply chan []byte, msg []byte) {
|
||||||
ReplyError(reply, v["id"], &WalletPassphraseIncorrect)
|
ReplyError(reply, v["id"], &WalletPassphraseIncorrect)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
ReplySuccess(reply, v["id"], nil)
|
||||||
go func() {
|
go func() {
|
||||||
time.Sleep(time.Second * time.Duration(int64(timeout)))
|
time.Sleep(time.Second * time.Duration(int64(timeout)))
|
||||||
w.Lock()
|
w.Lock()
|
||||||
|
|
Loading…
Reference in a new issue