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":