Add missing format specifier in mempool.go.
Found by go vet.
This commit is contained in:
parent
f983b0846e
commit
1db523883e
1 changed files with 2 additions and 2 deletions
|
@ -222,8 +222,8 @@ func checkTransactionStandard(tx *btcwire.MsgTx, height int64) error {
|
||||||
// Each transaction input signature script must only contain
|
// Each transaction input signature script must only contain
|
||||||
// opcodes which push data onto the stack.
|
// opcodes which push data onto the stack.
|
||||||
if !btcscript.IsPushOnlyScript(txIn.SignatureScript) {
|
if !btcscript.IsPushOnlyScript(txIn.SignatureScript) {
|
||||||
return fmt.Errorf("transaction input %d: signature " +
|
return fmt.Errorf("transaction input %d: signature "+
|
||||||
"script is not push only")
|
"script is not push only", i)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue