diff --git a/pallets/ocex/rpc/src/lib.rs b/pallets/ocex/rpc/src/lib.rs index 21fd63077..78353af64 100644 --- a/pallets/ocex/rpc/src/lib.rs +++ b/pallets/ocex/rpc/src/lib.rs @@ -148,11 +148,7 @@ pub struct PolkadexOcexRpc { impl PolkadexOcexRpc { pub fn new(client: Arc, storage: T) -> Self { - Self { - client, - offchain_db: OffchainDb::new(storage), - _marker: Default::default(), - } + Self { client, offchain_db: OffchainDb::new(storage), _marker: Default::default() } } }