fundechannel: don't pass deprecated 'satoshis' to fundchannel_start

Changelog-None
This commit is contained in:
darosior 2020-04-03 10:26:30 +02:00 committed by Christian Decker
parent 5aafef1484
commit b8262c3de2

View File

@ -274,8 +274,6 @@ static struct command_result *fundchannel_start(struct command *cmd,
json_add_string(req->js, "id", node_id_to_hexstr(tmpctx, fr->id));
if (deprecated_apis)
json_add_string(req->js, "satoshi", fr->funding_str);
json_add_string(req->js, "amount", fr->funding_str);
if (fr->feerate_str)