]> git.bitcoin.ninja Git - rust-lightning/commit
Drop useless SCID lookup in `claim_funds_from_hop`
authorMatt Corallo <git@bluematt.me>
Wed, 30 Nov 2022 03:02:27 +0000 (03:02 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 30 Nov 2022 03:04:19 +0000 (03:04 +0000)
commite7ba10383b6f925eb26df02bba9b61a31124cc50
tree233c71c31d3ec314f7de192c88009df7001a8c53
parent2c57878968589347304ad8f29b9077898aa974ea
Drop useless SCID lookup in `claim_funds_from_hop`

We have the channel_id available in `prev_hop` so there's no reason
to look it up by SCID.
lightning/src/ln/channelmanager.rs