Branch: refs/heads/master
Home: https://github.com/btcsuite/btcwallet
Commit: 5ad37374fb70ffa7ddc82e2a2ba78f3619ea789e
https://github.com/btcsuite/btcwallet/commit/5ad37374fb70ffa7ddc82e2a2ba78f3619ea789e
Author: Josh Rickmar <[email protected]>
Date: 2015-03-02 (Mon, 02 Mar 2015)
Changed paths:
M rpcserver.go
M wallet.go
Log Message:
-----------
Use the correct synced block when calculating confs.
This was previously using the most recently notified (by the chain
package) block, but transaction processing from this block may not be
finished yet. Using this block's height to calculate the number of
confirmations is therefore incorrect, and can result in every RPC
handler missing transactions or returning transactions from the wrong
block.