mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Fix parity-db builds for the Coordinator
This commit is contained in:
@@ -13,7 +13,7 @@ use serai_coordinator_substrate::NewSetInformation;
|
|||||||
use serai_coordinator_tributary::Transaction;
|
use serai_coordinator_tributary::Transaction;
|
||||||
|
|
||||||
#[cfg(all(feature = "parity-db", not(feature = "rocksdb")))]
|
#[cfg(all(feature = "parity-db", not(feature = "rocksdb")))]
|
||||||
pub(crate) type Db = serai_db::ParityDb;
|
pub(crate) type Db = std::sync::Arc<serai_db::ParityDb>;
|
||||||
#[cfg(feature = "rocksdb")]
|
#[cfg(feature = "rocksdb")]
|
||||||
pub(crate) type Db = serai_db::RocksDB;
|
pub(crate) type Db = serai_db::RocksDB;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user