mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
channeld: update acceptable feerate ranges.
master was telling us the ranges, but we weren't updating them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
2329820460
commit
a03fe8dc75
@@ -1919,10 +1919,11 @@ failed:
|
||||
|
||||
static void handle_feerates(struct peer *peer, const u8 *inmsg)
|
||||
{
|
||||
u32 feerate, min_feerate, max_feerate;
|
||||
u32 feerate;
|
||||
|
||||
if (!fromwire_channel_feerates(inmsg, NULL, &feerate,
|
||||
&min_feerate, &max_feerate))
|
||||
&peer->feerate_min,
|
||||
&peer->feerate_max))
|
||||
master_badmsg(WIRE_CHANNEL_FEERATES, inmsg);
|
||||
|
||||
/* BOLT #2:
|
||||
|
||||
Reference in New Issue
Block a user