]> git.bitcoin.ninja Git - rust-lightning/commit
Move `HTLCFailReason` to `onion_utils`
authorMatt Corallo <git@bluematt.me>
Thu, 1 Dec 2022 19:20:19 +0000 (19:20 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 6 Dec 2022 20:00:44 +0000 (20:00 +0000)
commit2485ef38c344f34efec7adf0413836130dd2a138
treec99e8037c12109513a27655c69447e88de1d626b
parent4ba83381b12449dcdf14b0adc145290f55ebaf21
Move `HTLCFailReason` to `onion_utils`

Now that it's entirely abstracted, there's no reason for
`HTLCFailReason` to be in `channelmanager`, it's really an
onion-level abstraction.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/onion_utils.rs