coblox / nectar

GNU General Public License v3.0
0 stars 1 forks source link

Implement `nectar withdraw` for Ether and Bitcoin #71

Closed D4nte closed 4 years ago

D4nte commented 4 years ago

Almost there, getting the following error:

thread 'command::withdraw::tests::withdraw_command' panicked at 'called `Result::unwrap()` on an `Err` value: failed to get gas price

Caused by:
    0: JSON-RPC request Request { id: "1", jsonrpc: "2.0", method: "eth_estimateGas", params: [Object({"gas_price": String("1"), "to": String("0x0000000000000000000000000000000000000000"), "value": String("0x214e8348c4f00000")})] } failed
    1: JSON-RPC request failed with code -32000: gas required exceeds allowance (6320079) or always failing transaction', src/command/withdraw.rs:109:22
D4nte commented 4 years ago

Will re-open from a new branch