Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
2151: Just takle a single warning r=damip a=adrien-zinger



Co-authored-by: Adrien Zinger <[email protected]>
  • Loading branch information
bors[bot] and adrien-zinger authored Jan 15, 2022
2 parents 3bc68a7 + 8d80431 commit d9b1b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion massa-execution/src/interface_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl Interface for InterfaceImpl {
Some(addr) => addr,
_ => bail!("Failed to read call stack current address"),
};
Ok(context.ledger_step.get_balance(&address).to_raw())
Ok(context.ledger_step.get_balance(address).to_raw())
}

/// Returns zero as a default if address not found.
Expand Down

0 comments on commit d9b1b44

Please sign in to comment.