@@ -4,15 +4,15 @@ use lightning::ln::functional_test_utils::{
44 create_network, create_node_cfgs, create_node_chanmgrs, send_payment,
55} ;
66use lightning:: util:: persist:: {
7- migrate_kv_store_data, read_channel_monitors, KVStore , MigratableKVStore ,
7+ migrate_kv_store_data, read_channel_monitors, KVStoreSync , MigratableKVStore ,
88 KVSTORE_NAMESPACE_KEY_ALPHABET , KVSTORE_NAMESPACE_KEY_MAX_LEN ,
99} ;
1010use lightning:: util:: test_utils;
1111use lightning:: { check_added_monitors, check_closed_broadcast, check_closed_event} ;
1212
1313use std:: panic:: RefUnwindSafe ;
1414
15- pub ( crate ) fn do_read_write_remove_list_persist < K : KVStore + RefUnwindSafe > ( kv_store : & K ) {
15+ pub ( crate ) fn do_read_write_remove_list_persist < K : KVStoreSync + RefUnwindSafe > ( kv_store : & K ) {
1616 let data = [ 42u8 ; 32 ] ;
1717
1818 let primary_namespace = "testspace" ;
@@ -113,7 +113,7 @@ pub(crate) fn do_test_data_migration<S: MigratableKVStore, T: MigratableKVStore>
113113
114114// Integration-test the given KVStore implementation. Test relaying a few payments and check that
115115// the persisted data is updated the appropriate number of times.
116- pub ( crate ) fn do_test_store < K : KVStore + Sync > ( store_0 : & K , store_1 : & K ) {
116+ pub ( crate ) fn do_test_store < K : KVStoreSync + Sync > ( store_0 : & K , store_1 : & K ) {
117117 let chanmon_cfgs = create_chanmon_cfgs ( 2 ) ;
118118 let mut node_cfgs = create_node_cfgs ( 2 , & chanmon_cfgs) ;
119119 let chain_mon_0 = test_utils:: TestChainMonitor :: new (
0 commit comments