diff --git a/votingpool/withdrawal.go b/votingpool/withdrawal.go index 4a88687..87a7a1d 100644 --- a/votingpool/withdrawal.go +++ b/votingpool/withdrawal.go @@ -282,9 +282,7 @@ func (tx *withdrawalTx) ntxid() Ntxid { for _, txin := range msgtx.TxIn { txin.SignatureScript = empty } - // Ignore the error as TxSha() can't fail. - sha, _ := msgtx.TxSha() - return Ntxid(sha.String()) + return Ntxid(msgtx.TxSha().String()) } // inputTotal returns the sum amount of all inputs in this tx.