]> git.bitcoin.ninja Git - rust-lightning/commit
Eliminate unnecessary generics from Sign
authorDevrandom <c1.devrandom@niftybox.net>
Thu, 1 Apr 2021 10:40:35 +0000 (12:40 +0200)
committerDevrandom <c1.devrandom@niftybox.net>
Fri, 9 Apr 2021 09:19:22 +0000 (11:19 +0200)
commitb69ae07c11633f6721fe563d237f8a0f2980177c
tree878c9d690efdde3dd2ac6388732ad0d9a9a29c73
parente23c270720df2798c3e35e2ba804d98060d76d17
Eliminate unnecessary generics from Sign

The generic methods prevent Sign from being a dyn object.

Use Secp256k1<All> as part of removing generics from Secp256k1 contexts passed into Sign methods.
lightning/src/chain/keysinterface.rs
lightning/src/util/enforcing_trait_impls.rs