Skip to content

Commit 0821fb3

Browse files
committed
Test that BaseSign can have a vtable
1 parent 14e094a commit 0821fb3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lightning/src/chain/keysinterface.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,3 +1048,9 @@ impl KeysInterface for KeysManager {
10481048
InMemorySigner::read(&mut std::io::Cursor::new(reader))
10491049
}
10501050
}
1051+
1052+
// Ensure that BaseSign can have a vtable
1053+
#[test]
1054+
pub fn dyn_sign() {
1055+
let _signer: Box<dyn BaseSign>;
1056+
}

0 commit comments

Comments
 (0)