From cfde81a062ec5cbb47d5ea5350be7e6030171c80 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Wed, 28 Aug 2013 09:02:24 -0400 Subject: [PATCH] Remove shadowed variable. --- sockets.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sockets.go b/sockets.go index e2e0028..2072445 100644 --- a/sockets.go +++ b/sockets.go @@ -280,11 +280,11 @@ func ProcessBtcdNotificationReply(b []byte) { // TODO(jrick): update TxStore and UtxoStore with new hash var id interface{} = "btcwallet:newblockchainheight" - m := &btcjson.Reply{ + msgRaw := &btcjson.Reply{ Result: height, Id: &id, } - msg, _ := json.Marshal(m) + msg, _ := json.Marshal(msgRaw) frontendNotificationMaster <- msg case "btcd:blockdisconnected":