]> git.bitcoin.ninja Git - rust-lightning/commit
Rename TxCreationKeys::new to not conflict w/ auto-gen'd C bindings
authorMatt Corallo <git@bluematt.me>
Thu, 13 Aug 2020 18:45:34 +0000 (14:45 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 26 Aug 2020 01:26:51 +0000 (21:26 -0400)
commitc6bae1fdb023c4982cc01f53507b3bc1b63dbac6
tree3e88a16ed7b2c72c3e5f71cdf44d20f6a4379bdb
parent2ff4ae782eccb84e09f86e7d37c426e6153ea961
Rename TxCreationKeys::new to not conflict w/ auto-gen'd C bindings

The C bindings automatically create a _new() function for structs
which contain only pub fields which we know how to map. This
conflicts with the actual TxCreationKeys::new() function, so we
simply rename it to capture its nature as a derivation function.
lightning/src/ln/chan_utils.rs
lightning/src/ln/channel.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onchaintx.rs
lightning/src/util/enforcing_trait_impls.rs