lntest: fix typo

This commit is contained in:
Boris Nagaev
2024-07-25 12:12:22 -03:00
parent ef8535356b
commit 3de94c11ae
2 changed files with 2 additions and 2 deletions

View File

@@ -217,7 +217,7 @@ func (h *HarnessTest) AssertTxNotInMempool(txid chainhash.Hash) *wire.MsgTx {
} }
// AssertNumTxsInMempool polls until finding the desired number of transactions // AssertNumTxsInMempool polls until finding the desired number of transactions
// in the provided miner's mempool. It will asserrt if this number is not met // in the provided miner's mempool. It will assert if this number is not met
// after the given timeout. // after the given timeout.
func (h *HarnessTest) AssertNumTxsInMempool(n int) []*chainhash.Hash { func (h *HarnessTest) AssertNumTxsInMempool(n int) []*chainhash.Hash {
return h.miner.AssertNumTxsInMempool(n) return h.miner.AssertNumTxsInMempool(n)

View File

@@ -196,7 +196,7 @@ func (h *HarnessMiner) MineBlocks(num uint32) []*wire.MsgBlock {
} }
// AssertNumTxsInMempool polls until finding the desired number of transactions // AssertNumTxsInMempool polls until finding the desired number of transactions
// in the provided miner's mempool. It will asserrt if this number is not met // in the provided miner's mempool. It will assert if this number is not met
// after the given timeout. // after the given timeout.
func (h *HarnessMiner) AssertNumTxsInMempool(n int) []*chainhash.Hash { func (h *HarnessMiner) AssertNumTxsInMempool(n int) []*chainhash.Hash {
var ( var (