Fix PubKey resetting
This commit is contained in:
parent
b6f7626a13
commit
a6394c7afa
|
@ -147,7 +147,7 @@ func (tx *Transaction) Verify(prevTXs map[string]Transaction) bool {
|
|||
txCopy.Vin[inID].Signature = nil
|
||||
txCopy.Vin[inID].PubKey = prevTx.Vout[vin.Vout].PubKeyHash
|
||||
txCopy.ID = txCopy.Hash()
|
||||
txCopy.Vin[inID].PubKey = []byte{}
|
||||
txCopy.Vin[inID].PubKey = nil
|
||||
|
||||
r := big.Int{}
|
||||
s := big.Int{}
|
||||
|
|
Loading…
Reference in New Issue