Update for SubmitBlockOptions field name change.
This commit is contained in:
parent
59731e552b
commit
84af0d500f
1 changed files with 1 additions and 1 deletions
|
@ -762,7 +762,7 @@ func makeStop(args []interface{}) (btcjson.Cmd, error) {
|
||||||
func makeSubmitBlock(args []interface{}) (btcjson.Cmd, error) {
|
func makeSubmitBlock(args []interface{}) (btcjson.Cmd, error) {
|
||||||
opts := &btcjson.SubmitBlockOptions{}
|
opts := &btcjson.SubmitBlockOptions{}
|
||||||
if len(args) == 2 {
|
if len(args) == 2 {
|
||||||
opts.WorkId = args[1].(string)
|
opts.WorkID = args[1].(string)
|
||||||
}
|
}
|
||||||
|
|
||||||
return btcjson.NewSubmitBlockCmd("btcctl", args[0].(string), opts)
|
return btcjson.NewSubmitBlockCmd("btcctl", args[0].(string), opts)
|
||||||
|
|
Loading…
Reference in a new issue