Skip to content

Commit 5504a1f

Browse files
sdk: rustfmt
1 parent bd6e501 commit 5504a1f

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

smartcontract/sdk/rs/src/commands/user/ban.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ impl BanUserCommand {
1919
self.execute_inner(client, true)
2020
}
2121

22-
fn execute_inner(
23-
&self,
24-
client: &dyn DoubleZeroClient,
25-
quiet: bool,
26-
) -> eyre::Result<Signature> {
22+
fn execute_inner(&self, client: &dyn DoubleZeroClient, quiet: bool) -> eyre::Result<Signature> {
2723
let (globalstate_pubkey, _globalstate) = GetGlobalStateCommand
2824
.execute(client)
2925
.map_err(|_err| eyre::eyre!("Globalstate not initialized"))?;

smartcontract/sdk/rs/src/commands/user/closeaccount.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ impl CloseAccountUserCommand {
2929
self.execute_inner(client, true)
3030
}
3131

32-
fn execute_inner(
33-
&self,
34-
client: &dyn DoubleZeroClient,
35-
quiet: bool,
36-
) -> eyre::Result<Signature> {
32+
fn execute_inner(&self, client: &dyn DoubleZeroClient, quiet: bool) -> eyre::Result<Signature> {
3733
let (globalstate_pubkey, _globalstate) = GetGlobalStateCommand
3834
.execute(client)
3935
.map_err(|_err| eyre::eyre!("Globalstate not initialized"))?;

0 commit comments

Comments
 (0)