mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
fb1c6ea6a7
Previously, `PublishTransaction` in `btcwallet` will first mark the tx label in db first before broadcasting it to the network. Even though the broadcast may fail with the error already in mempool or already confirmed, this tx label updating is still performed. To maintain the old behavior, we now catch the errors from `TestMempoolAccept`, and make sure to call the `PublishTransaction` to mark the tx label even there are errors from mempool acceptance check. |
||
---|---|---|
.. | ||
blockchain.go | ||
btcwallet_integration.go | ||
btcwallet_test.go | ||
btcwallet.go | ||
config.go | ||
driver.go | ||
log.go | ||
psbt_test.go | ||
psbt.go | ||
signer_test.go | ||
signer.go |