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)
|
||||
return
|
||||
}
|
||||
ReplySuccess(reply, v["id"], nil)
|
||||
go func() {
|
||||
time.Sleep(time.Second * time.Duration(int64(timeout)))
|
||||
w.Lock()
|
||||
|
|
Loading…
Reference in a new issue