Skip to content

Commit 672dd46

Browse files
committed
f: rename to TestSyncStore
1 parent 7a808a5 commit 672dd46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/common/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,13 @@ pub(crate) enum TestChainSource<'a> {
265265

266266
#[derive(Clone, Copy)]
267267
pub(crate) enum TestStoreType {
268-
InMemory,
268+
TestSyncStore,
269269
Sqlite,
270270
}
271271

272272
impl Default for TestStoreType {
273273
fn default() -> Self {
274-
TestStoreType::InMemory
274+
TestStoreType::TestSyncStore
275275
}
276276
}
277277

@@ -302,7 +302,7 @@ pub(crate) fn setup_two_nodes(
302302
allow_0conf,
303303
anchor_channels,
304304
anchors_trusted_no_reserve,
305-
TestStoreType::InMemory,
305+
TestStoreType::TestSyncStore,
306306
)
307307
}
308308

@@ -411,7 +411,7 @@ pub(crate) fn setup_node_for_async_payments(
411411
builder.set_async_payments_role(async_payments_role).unwrap();
412412

413413
let kv_store: Arc<DynStore> = match config.store_type {
414-
TestStoreType::InMemory => {
414+
TestStoreType::TestSyncStore => {
415415
Arc::new(TestSyncStore::new(config.node_config.storage_dir_path.into()))
416416
},
417417
TestStoreType::Sqlite => Arc::new(

0 commit comments

Comments
 (0)