rpcserver: Fix typo in generate handler.
"mine a block" instead of "main a block".
This commit is contained in:
parent
b6afec5e51
commit
be04ac2370
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ func handleGenerate(s *rpcServer, cmd interface{}, closeChan <-chan struct{}) (i
|
||||||
Code: btcjson.ErrRPCDifficulty,
|
Code: btcjson.ErrRPCDifficulty,
|
||||||
Message: fmt.Sprintf("No support for `generate` on "+
|
Message: fmt.Sprintf("No support for `generate` on "+
|
||||||
"the current network, %s, as it's unlikely to "+
|
"the current network, %s, as it's unlikely to "+
|
||||||
"be possible to main a block with the CPU.",
|
"be possible to mine a block with the CPU.",
|
||||||
s.cfg.ChainParams.Net),
|
s.cfg.ChainParams.Net),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue