Update for recent wire API hash error changes.

This commit is contained in:
Dave Collins 2015-04-17 01:32:40 -05:00
parent 74208f90c1
commit ab8a155841

View file

@ -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.