Return the temporary channel id in success from `create_channel`
authorMatt Corallo <git@bluematt.me>
Wed, 13 Oct 2021 21:14:35 +0000 (21:14 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Oct 2021 21:44:58 +0000 (21:44 +0000)
commitbe8223918137d5495ee7ad3ce8bf21d999f9915f
tree48c74a2d39551e87c6998cba2f22fd2777f7d9c2
parent2144166bc64b6350d22b5bbf4e25477a666ad402
Return the temporary channel id in success from `create_channel`

This makes it more practical for users to track channels prior to
funding, especially if the channel fails because the peer rejects
it for a parameter mismatch.
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs