Browse Source

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>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
a03fe8dc75
  1. 5
      channeld/channel.c

5
channeld/channel.c

@ -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:

Loading…
Cancel
Save