Fix parity-db builds for the Coordinator

This commit is contained in:
Luke Parker 2025-01-15 12:10:11 -05:00
parent 7312fa8d3c
commit bea4f92b7a
No known key found for this signature in database

View file

@ -13,7 +13,7 @@ use serai_coordinator_substrate::NewSetInformation;
use serai_coordinator_tributary::Transaction;
#[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")]
pub(crate) type Db = serai_db::RocksDB;