Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauthamastro committed Mar 20, 2024
1 parent 85a7914 commit f70e573
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pallets/ocex/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,7 @@ pub struct PolkadexOcexRpc<Client, Block, T: OffchainStorage + 'static> {

impl<Client, Block, T: OffchainStorage> PolkadexOcexRpc<Client, Block, T> {
pub fn new(client: Arc<Client>, storage: T) -> Self {
Self {
client,
offchain_db: OffchainDb::new(storage),
_marker: Default::default(),
}
Self { client, offchain_db: OffchainDb::new(storage), _marker: Default::default() }
}
}

Expand Down

0 comments on commit f70e573

Please sign in to comment.