mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-23 08:11:48 +01: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.