Correct error msg for missing input transaction.
The error message for missing input transaction had the referenced and referencing transactions backwards.
This commit is contained in:
parent
fc804aaec0
commit
ffa56b437c
1 changed files with 2 additions and 2 deletions
|
@ -348,8 +348,8 @@ func countP2SHSigOps(msgTx *btcwire.MsgTx, isCoinBaseTx bool, txStore map[btcwir
|
|||
originTx, exists := txStore[*txInHash]
|
||||
if !exists || originTx.err != nil || originTx.tx == nil {
|
||||
return 0, fmt.Errorf("unable to find input transaction "+
|
||||
"%v referenced from transaction %v", txHash,
|
||||
txInHash)
|
||||
"%v referenced from transaction %v", txInHash,
|
||||
txHash)
|
||||
}
|
||||
|
||||
// Ensure the output index in the referenced transaction is
|
||||
|
|
Loading…
Reference in a new issue