Update for recent wire API hash error changes.
This commit is contained in:
parent
74208f90c1
commit
ab8a155841
1 changed files with 1 additions and 3 deletions
|
@ -282,9 +282,7 @@ func (tx *withdrawalTx) ntxid() Ntxid {
|
||||||
for _, txin := range msgtx.TxIn {
|
for _, txin := range msgtx.TxIn {
|
||||||
txin.SignatureScript = empty
|
txin.SignatureScript = empty
|
||||||
}
|
}
|
||||||
// Ignore the error as TxSha() can't fail.
|
return Ntxid(msgtx.TxSha().String())
|
||||||
sha, _ := msgtx.TxSha()
|
|
||||||
return Ntxid(sha.String())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// inputTotal returns the sum amount of all inputs in this tx.
|
// inputTotal returns the sum amount of all inputs in this tx.
|
||||||
|
|
Loading…
Reference in a new issue