Skip to content

Commit

Permalink
Clippy fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Baltariu <[email protected]>
  • Loading branch information
andreiblt1304 committed Jan 8, 2025
1 parent 06c17a3 commit 4a761a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enshrine-esdt-safe/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub trait EnshrineEsdtSafe:
self.initiator_address().set(caller);

self.config()
.set(opt_config.unwrap_or_else(|| BridgeConfig::default_config()));
.set(opt_config.unwrap_or_else(BridgeConfig::default_config));
}

#[only_owner]
Expand Down

0 comments on commit 4a761a5

Please sign in to comment.