The current implementation of LeaseOutput already checked whether the output had already been leased by the persisted implementation, but not the in-memory one used by lnd internally. Without this check, we could potentially end up with a double spend error if lnd acquired the UTXO internally before the LeaseOutput call. |
||
---|---|---|
.. | ||
blockchain.go | ||
btcwallet_rpctest.go | ||
btcwallet.go | ||
config.go | ||
driver.go | ||
signer.go |