lnd/lnwallet/btcwallet
Olaoluwa Osuntokun 473f298524
lnwallet/btcwallet: fix bug in GetUtxo for BlockChainIO implementation
This commit fixes an unnoticed bug within btcwallet’s implementation of
the BlockChainIO interface, specifically the GetUtxo method. In order
to maintain compatibility with Bitcoin Core’s gettxout method, btcd
doesn’t return an error if the targeted output is actually spent.

We weren’t properly detecting this, but we do now by creating a new
error which is returned in the case of a nil error but a nil return
value.
2016-12-27 16:44:27 -08:00
..
blockchain.go lnwallet/btcwallet: fix bug in GetUtxo for BlockChainIO implementation 2016-12-27 16:44:27 -08:00
btcwallet.go lnwallet: add new method IsSynced to the WalletController interface 2016-12-12 15:56:33 -08:00
config.go lnwallet: add a BtcWallet implementation of WalletController 2016-09-08 12:25:32 -07:00
driver.go lnwallet: add a BtcWallet implementation of WalletController 2016-09-08 12:25:32 -07:00
signer.go lnwallet/btcwallet: add compile-time interface assertions for Signer+BlockChainIO 2016-12-27 16:43:31 -08:00