[lbry] rpcclient: fix stratum update_block format for blocknotify

This commit is contained in:
Roy Lee 2022-07-28 07:45:25 -07:00
parent daa3137dc4
commit ea63a44c7b

View file

@ -29,7 +29,7 @@ func send(stratum, stratumPass, coinid, blockHash string) error {
}
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)
_, err = conn.Write([]byte(msg))