Skip to content

Commit

Permalink
fix: mining bug caused by type changes in RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
xxuejie committed Apr 10, 2019
1 parent 4902e15 commit c812c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miner/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ impl Client {
fn get_block_template(&self) -> impl Future<Item = BlockTemplate, Error = RpcError> {
let method = "get_block_template".to_owned();
let params = vec![
json!(self.config.cycles_limit),
json!(self.config.bytes_limit),
json!(self.config.cycles_limit.to_string()),
json!(self.config.bytes_limit.to_string()),
json!(self.config.max_version),
];

Expand Down

0 comments on commit c812c16

Please sign in to comment.