lightningd: put min/max feerates into db, struct channel.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-04-03 16:49:39 +09:30
parent 4234321f7e
commit 6bb47276ce
7 changed files with 42 additions and 8 deletions

View File

@@ -211,7 +211,8 @@ wallet_commit_channel(struct lightningd *ld,
NULL, /* No remote_shutdown_scriptpubkey yet */
final_key_idx, false,
NULL, /* No commit sent yet */
uc->first_blocknum);
uc->first_blocknum,
feerate, feerate);
/* Now we finally put it in the database. */
wallet_channel_insert(ld->wallet, channel);