[lbry] rpcclient: fix stratum update_block format for blocknotify
This commit is contained in:
parent
daa3137dc4
commit
ea63a44c7b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ func send(stratum, stratumPass, coinid, blockHash string) error {
|
||||||
}
|
}
|
||||||
defer conn.Close()
|
defer conn.Close()
|
||||||
|
|
||||||
msg := fmt.Sprintf(`{"id":1,"method":"mining.update_block","params":[%q,%q,%q]}`,
|
msg := fmt.Sprintf(`{"id":1,"method":"mining.update_block","params":[%q,%s,%q]}`,
|
||||||
stratumPass, coinid, blockHash)
|
stratumPass, coinid, blockHash)
|
||||||
|
|
||||||
_, err = conn.Write([]byte(msg))
|
_, err = conn.Write([]byte(msg))
|
||||||
|
|
Loading…
Reference in a new issue