onion_utils: extract decrypting faiure packet into method
authorValentine Wallace <vwallace@protonmail.com>
Thu, 26 Oct 2023 16:59:42 +0000 (12:59 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 29 Nov 2023 22:10:43 +0000 (17:10 -0500)
commit7f765a39bcf1464fab92d19b6ecd6f38e296a30e
treea6f984a3c4a6abd1f0f6ea9f98e93a29588757ac
parent1e12bdfb3ba47d77d37bf863ab2c1ac7a78596e1
onion_utils: extract decrypting faiure packet into method

Will be used in the next commit to parse onion errors from blinded paths in
tests only.
lightning/src/ln/onion_utils.rs