mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
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.go | ||
btcwallet_integration.go | ||
btcwallet_test.go | ||
config.go | ||
driver.go | ||
log.go | ||
psbt.go | ||
psbt_test.go | ||
signer.go | ||
signer_test.go |