@@ -9,7 +9,7 @@ use lightning::ln::functional_test_utils::{
99 connect_block, create_announced_chan_between_nodes, create_chanmon_cfgs, create_dummy_block,
1010 create_network, create_node_cfgs, create_node_chanmgrs, send_payment,
1111} ;
12- use lightning:: util:: persist:: { read_channel_monitors, KVStore , KVSTORE_NAMESPACE_KEY_MAX_LEN } ;
12+ use lightning:: util:: persist:: { read_channel_monitors, KVStoreSync , KVSTORE_NAMESPACE_KEY_MAX_LEN } ;
1313
1414use lightning:: events:: ClosureReason ;
1515use lightning:: util:: test_utils;
@@ -29,7 +29,7 @@ pub(crate) fn random_storage_path() -> PathBuf {
2929 temp_path
3030}
3131
32- pub ( crate ) fn do_read_write_remove_list_persist < K : KVStore + RefUnwindSafe > ( kv_store : & K ) {
32+ pub ( crate ) fn do_read_write_remove_list_persist < K : KVStoreSync + RefUnwindSafe > ( kv_store : & K ) {
3333 let data = [ 42u8 ; 32 ] ;
3434
3535 let primary_namespace = "testspace" ;
@@ -80,7 +80,7 @@ pub(crate) fn do_read_write_remove_list_persist<K: KVStore + RefUnwindSafe>(kv_s
8080
8181// Integration-test the given KVStore implementation. Test relaying a few payments and check that
8282// the persisted data is updated the appropriate number of times.
83- pub ( crate ) fn do_test_store < K : KVStore + Sync > ( store_0 : & K , store_1 : & K ) {
83+ pub ( crate ) fn do_test_store < K : KVStoreSync + Sync > ( store_0 : & K , store_1 : & K ) {
8484 let chanmon_cfgs = create_chanmon_cfgs ( 2 ) ;
8585 let mut node_cfgs = create_node_cfgs ( 2 , & chanmon_cfgs) ;
8686 let chain_mon_0 = test_utils:: TestChainMonitor :: new (
0 commit comments