From 0821fb3de07b8567ec007a2fa6e246c424264401 Mon Sep 17 00:00:00 2001 From: Devrandom Date: Fri, 9 Apr 2021 11:16:22 +0200 Subject: [PATCH] Test that BaseSign can have a vtable --- lightning/src/chain/keysinterface.rs | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5