mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-23 17:47:29 +00:00
Remove shadowed variable.
This commit is contained in:
parent
c86571be0c
commit
cfde81a062
1 changed files with 2 additions and 2 deletions
|
@ -280,11 +280,11 @@ func ProcessBtcdNotificationReply(b []byte) {
|
||||||
|
|
||||||
// TODO(jrick): update TxStore and UtxoStore with new hash
|
// TODO(jrick): update TxStore and UtxoStore with new hash
|
||||||
var id interface{} = "btcwallet:newblockchainheight"
|
var id interface{} = "btcwallet:newblockchainheight"
|
||||||
m := &btcjson.Reply{
|
msgRaw := &btcjson.Reply{
|
||||||
Result: height,
|
Result: height,
|
||||||
Id: &id,
|
Id: &id,
|
||||||
}
|
}
|
||||||
msg, _ := json.Marshal(m)
|
msg, _ := json.Marshal(msgRaw)
|
||||||
frontendNotificationMaster <- msg
|
frontendNotificationMaster <- msg
|
||||||
|
|
||||||
case "btcd:blockdisconnected":
|
case "btcd:blockdisconnected":
|
||||||
|
|
Loading…
Add table
Reference in a new issue