mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
c17b695128
This commit adds an additional check in GetUtxo that tests for the nil-ness of the spend report returned by the neutrino backend. Previously, a nil error and spend report could be returned if the rescan did not find the output at or above the start height. This was observed to have cause a nil pointer dereference when the returning line attempted to access the output. This case is now handled by returning a distinct error signaling that the output was not found. |
||
---|---|---|
.. | ||
blockchain.go | ||
btcwallet.go | ||
config.go | ||
driver.go | ||
signer.go |