From 145ac3e5921038c598f13a32cf0f83ca65e85952 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 13 Jun 2014 15:53:05 -0500 Subject: [PATCH] Fix unmined transaction resend logging. --- account.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/account.go b/account.go index 6c2ec48..8d6c683 100644 --- a/account.go +++ b/account.go @@ -508,15 +508,15 @@ func (a *Account) ResendUnminedTxs() { txs := a.TxStore.UnminedDebitTxs() for _, tx := range txs { - txsha, err := client.SendRawTransaction(tx.MsgTx(), false) + _, err := client.SendRawTransaction(tx.MsgTx(), false) if err != nil { // TODO(jrick): Check error for if this tx is a double spend, // remove it if so. log.Warnf("Could not resend transaction %v: %v", - txsha, err) + tx.Sha(), err) continue } - log.Debugf("Resent unmined transaction %v", txsha) + log.Debugf("Resent unmined transaction %v", tx.Sha()) } }