mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
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
@ -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…
x
Reference in New Issue
Block a user