From: Devrandom Date: Fri, 9 Apr 2021 09:16:22 +0000 (+0200) Subject: Test that BaseSign can have a vtable X-Git-Tag: v0.0.14~33^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=0821fb3de07b8567ec007a2fa6e246c424264401;p=rust-lightning Test that BaseSign can have a vtable --- diff --git a/lightning/src/chain/keysinterface.rs b/lightning/src/chain/keysinterface.rs index a1fef4dea..9714e992d 100644 --- a/lightning/src/chain/keysinterface.rs +++ b/lightning/src/chain/keysinterface.rs @@ -1048,3 +1048,9 @@ impl KeysInterface for KeysManager { InMemorySigner::read(&mut std::io::Cursor::new(reader)) } } + +// Ensure that BaseSign can have a vtable +#[test] +pub fn dyn_sign() { + let _signer: Box; +} \ No newline at end of file