]> git.bitcoin.ninja Git - rust-lightning/commit
DRY up repeated HTLC `Balance`s in tests
authorAlec Chen <alecchendev@gmail.com>
Sun, 23 Apr 2023 05:37:13 +0000 (00:37 -0500)
committerAlec Chen <alecchendev@gmail.com>
Sun, 23 Apr 2023 06:07:01 +0000 (01:07 -0500)
commit84da915a12912d031a7fef4cb232627fae0b74fc
tree241c5b14f642801757e3c092c9908cdc2c5b885e
parent53c79711b4c6ecc9715463398ec8c5e1c4806ffc
DRY up repeated HTLC `Balance`s in tests

This makes it easier to add a new field on the `Balance` variants.
lightning/src/ln/monitor_tests.rs