lntest: remove unused return value

This commit is contained in:
yyforyongyu committed 2024-10-17 07:34:25 +08:00
1 parent ed3cb26188
commit e560e00aeb
2 files changed
+3 -7

No files matched your search

+2 -2
View File
@@ -212,8 +212,8 @@ func (h *HarnessTest) AssertTxInMempool(txid chainhash.Hash) *wire.MsgTx {
// NOTE: this should be used after `AssertTxInMempool` to ensure the tx has
// entered the mempool before. Otherwise it might give false positive and the
// tx may enter the mempool after the check.
func (h *HarnessTest) AssertTxNotInMempool(txid chainhash.Hash) *wire.MsgTx {
return h.miner.AssertTxNotInMempool(txid)
func (h *HarnessTest) AssertTxNotInMempool(txid chainhash.Hash) {
h.miner.AssertTxNotInMempool(txid)
}
// AssertNumTxsInMempool polls until finding the desired number of transactions