diff --git a/rpc_client/src/signer_client.rs b/rpc_client/src/signer_client.rs index 587fa42b7..75bf85119 100644 --- a/rpc_client/src/signer_client.rs +++ b/rpc_client/src/signer_client.rs @@ -22,13 +22,14 @@ impl SignerRpc { pub fn confirm_request( &mut self, id: U256, + new_gas: Option, new_gas_price: Option, pwd: &str ) -> BoxFuture, Canceled> { self.rpc.request("personal_confirmRequest", vec![ to_value(&format!("{:#x}", id)), - to_value(&TransactionModification { gas_price: new_gas_price }), + to_value(&TransactionModification { gas_price: new_gas_price, gas: new_gas }), to_value(&pwd), ]) }