From ab8a155841da2ef4bbe656534fb7d37535b9dded Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 17 Apr 2015 01:32:40 -0500 Subject: [PATCH] Update for recent wire API hash error changes. --- votingpool/withdrawal.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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.