rpcserver: Fix typo in generate handler.

"mine a block" instead of "main a block".
This commit is contained in:
Kamil Slowikowski 2018-01-25 23:39:33 -05:00 committed by Dave Collins
parent b6afec5e51
commit be04ac2370

View file

@ -868,7 +868,7 @@ func handleGenerate(s *rpcServer, cmd interface{}, closeChan <-chan struct{}) (i
Code: btcjson.ErrRPCDifficulty,
Message: fmt.Sprintf("No support for `generate` on "+
"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),
}
}