mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
473f298524
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. |
||
---|---|---|
.. | ||
blockchain.go | ||
btcwallet.go | ||
config.go | ||
driver.go | ||
signer.go |