Fix FutureWalletPassphraseChange.Receive comment.

This commit is contained in:
Dave Collins 2014-05-08 13:12:56 -05:00
parent 2fc983ece1
commit 80f9a8e5e2

View file

@ -1630,7 +1630,7 @@ func (c *Client) WalletPassphrase(passphrase string, timeoutSecs int64) error {
type FutureWalletPassphraseChangeResult chan *futureResult type FutureWalletPassphraseChangeResult chan *futureResult
// Receive waits for the response promised by the future and returns the result // Receive waits for the response promised by the future and returns the result
// of unlocking the wallet. // of changing the wallet passphrase.
func (r FutureWalletPassphraseChangeResult) Receive() error { func (r FutureWalletPassphraseChangeResult) Receive() error {
_, err := receiveFuture(r) _, err := receiveFuture(r)
if err != nil { if err != nil {