Skip to content

Commit

Permalink
transfer-contract: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed May 16, 2024
1 parent a6afa5d commit c0de221
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/transfer/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,9 @@ impl TransferState {
/// Return the current gas price as set by the execute method.
/// Returns none outside of the lifetime of the execute method.
pub fn gas_price(&self) -> u64 {
self.gas_price.expect("During transaction execution host should always set the gas price")
self.gas_price.expect(
"During transaction execution host should always set the gas price",
)
}

fn get_note(&self, pos: u64) -> Option<Note> {
Expand Down

0 comments on commit c0de221

Please sign in to comment.