mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
wallet: use real feerates for withdraw rpc.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
3da93319fb
commit
28f02e0c0e
1 changed files with 1 additions and 3 deletions
|
@ -191,9 +191,7 @@ static void json_withdraw(struct command *cmd,
|
||||||
jsmntok_t *desttok, *sattok;
|
jsmntok_t *desttok, *sattok;
|
||||||
struct withdrawal *withdraw;
|
struct withdrawal *withdraw;
|
||||||
bool testnet;
|
bool testnet;
|
||||||
/* FIXME: Read feerate and dustlimit */
|
u32 feerate_per_kw = get_feerate(cmd->ld->topology, FEERATE_NORMAL);
|
||||||
u32 feerate_per_kw = 15000;
|
|
||||||
//u64 dust_limit = 600;
|
|
||||||
u64 fee_estimate;
|
u64 fee_estimate;
|
||||||
struct utxo *utxos;
|
struct utxo *utxos;
|
||||||
struct ext_key ext;
|
struct ext_key ext;
|
||||||
|
|
Loading…
Add table
Reference in a new issue