Browse Source
We want to compare to `i`, the enum counter, not feerates[i], the feerate value. Without this fix, `feerates` appears as: ``` { "perkw": { "opening": 253, "mutual_close": 253, "unilateral_close": 253, "delayed_to_us": 253, "htlc_resolution": 253, "penalty": 253, "min_acceptable": 253, "max_acceptable": 2500, "min_acceptable": 253, "max_acceptable": 4294967295, "urgent": 253, "normal": 253, "slow": 506 }, "onchain_fee_estimates": { "opening_channel_satoshis": 177, "mutual_close_satoshis": 170, "unilateral_close_satoshis": 151, "htlc_timeout_satoshis": 167, "htlc_success_satoshis": 177 } } ``` bug introduced in "chaintopology: better feerate targets differentiation"nifty/pset-pre
lisa neigut
5 years ago
committed by
neil saitug
1 changed files with 1 additions and 2 deletions
Loading…
Reference in new issue