Send JSON reply after successfully decrypting wallet

This commit is contained in:
Josh Rickmar 2013-08-21 13:29:36 -04:00
parent 92a79baeff
commit 8f38a43964

View file

@ -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()