rust-lightning/lightning
Jeffrey Czyz 857b4c08a5
Fix shift overflow in Scorer::channel_penalty_msat
An unchecked shift of more than 64 bits on u64 values causes a shift
overflow panic. This may happen if a channel is penalized only once and
(1) is not successfully routed through and (2) after 64 or more half
life decays. Use a checked shift to prevent this from happening.
2021-12-03 14:00:52 -06:00
..
src Fix shift overflow in Scorer::channel_penalty_msat 2021-12-03 14:00:52 -06:00
Cargo.toml Add a new log-level for gossip messages. 2021-11-22 18:19:08 +01:00