]> git.bitcoin.ninja Git - rust-lightning/commit
Move parts of the `check_spends` macro into a function
authorMatt Corallo <git@bluematt.me>
Fri, 10 Feb 2023 19:57:20 +0000 (19:57 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 1 Mar 2023 18:30:00 +0000 (18:30 +0000)
commit871aec262171f95ec2dfa869021e33ebddd25111
tree7194b9e6b8426c970610a3a0436ca700af8bff42
parent8c6e1329ff1f1011aa37dd5e28c01a731e1c66dc
Move parts of the `check_spends` macro into a function

While we cannot move the entire `check_spends` macro into a
function, we can move parts of it out, which we do here.

This reduces the `--profile=test --lib` `Zpretty=expanded` code
size from 316,856 LoC to 313,312 LoC.
lightning/src/ln/functional_test_utils.rs