From 0056958dfa4ab83aa73d4ea2360380cc16a924c0 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Wed, 27 Nov 2013 14:50:43 -0500 Subject: [PATCH] More verbose tx handling. --- cmdmgr.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmdmgr.go b/cmdmgr.go index ddf1697..5e42be6 100644 --- a/cmdmgr.go +++ b/cmdmgr.go @@ -727,6 +727,7 @@ func handleSendRawTxReply(frontend chan []byte, icmd btcjson.Cmd, txInfo *CreatedTx) bool { if e != nil { + log.Errorf("Could not send tx: %v", err) ReplyError(frontend, icmd.Id(), e) return true } @@ -800,7 +801,7 @@ func handleSendRawTxReply(frontend chan []byte, icmd btcjson.Cmd, UnminedTxs.m[TXID(*txID)] = txInfo UnminedTxs.Unlock() - log.Debugf("successfully sent transaction %v", result) + log.Infof("Successfully sent transaction %v", result) ReplySuccess(frontend, icmd.Id(), result) // The comments to be saved differ based on the underlying type