Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Update checks.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
RLaursen authored and mvines committed Dec 23, 2021
1 parent 52c1eb0 commit d06c04d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cli/src/checks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ pub fn get_fee_for_messages(
) -> Result<u64, CliError> {
Ok(messages
.iter()
.map(|message| {
rpc_client.get_fee_for_message(message)
})
.map(|message| rpc_client.get_fee_for_message(message))
.collect::<Result<Vec<_>, _>>()?
.iter()
.sum())
Expand Down

0 comments on commit d06c04d

Please sign in to comment.