mirror of
https://github.com/btcsuite/btcd.git
synced 2025-01-19 05:33:36 +01:00
mempool: fix t.Fatal call with formatting directive
This commit is contained in:
parent
7eaf360063
commit
d14f18d329
@ -14,11 +14,11 @@ import (
|
||||
|
||||
"github.com/btcsuite/btcd/blockchain"
|
||||
"github.com/btcsuite/btcd/btcec/v2"
|
||||
"github.com/btcsuite/btcd/btcutil"
|
||||
"github.com/btcsuite/btcd/chaincfg"
|
||||
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||
"github.com/btcsuite/btcd/txscript"
|
||||
"github.com/btcsuite/btcd/wire"
|
||||
"github.com/btcsuite/btcd/btcutil"
|
||||
)
|
||||
|
||||
// fakeChain is used by the pool harness to provide generated test utxos and
|
||||
@ -560,7 +560,7 @@ func TestOrphanReject(t *testing.T) {
|
||||
|
||||
// Ensure no transactions were reported as accepted.
|
||||
if len(acceptedTxns) != 0 {
|
||||
t.Fatal("ProcessTransaction: reported %d accepted "+
|
||||
t.Fatalf("ProcessTransaction: reported %d accepted "+
|
||||
"transactions from failed orphan attempt",
|
||||
len(acceptedTxns))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user