mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-03 09:28:34 +02:00
This commit adds a mempool acceptance check before broadcasting a given transaction. To maintain the current behavior from `BtcWallet.PublishTransaction`, the two errors, `ErrInMempool` and `ErrAlreadyConfirmed` returned from `TestMempoolAccept` are ignored.