mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-26 07:52:32 +00:00
Include in/out script bytes in script val error.
This commit is contained in:
parent
b7ef1f0946
commit
bb4ea7d59a
@ -90,8 +90,10 @@ out:
|
||||
// Execute the script pair.
|
||||
if err := engine.Execute(); err != nil {
|
||||
err := fmt.Errorf("validate of input "+
|
||||
"%d from transaction %s failed: %v",
|
||||
txVI.txInIndex, txInHash, err)
|
||||
"%d from transaction %s failed: %v "+
|
||||
"(input script bytes %x, prev output "+
|
||||
"script bytes %x)", txVI.txInIndex,
|
||||
txInHash, err, sigScript, pkScript)
|
||||
v.sendResult(err)
|
||||
break out
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user