Skip to content

Commit

Permalink
fix: don't consume self (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-0x authored May 13, 2024
1 parent 33f054d commit 29f4492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rs/src/expand/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl CairoContract {
self.account.provider()
}

pub fn set_block(mut self, block_id: #snrs_types::BlockId) {
pub fn set_block(&mut self, block_id: #snrs_types::BlockId) {
self.block_id = block_id;
}
}
Expand Down Expand Up @@ -64,7 +64,7 @@ impl CairoContract {
&self.provider
}

pub fn set_block(mut self, block_id: #snrs_types::BlockId) {
pub fn set_block(&mut self, block_id: #snrs_types::BlockId) {
self.block_id = block_id;
}
}
Expand Down

0 comments on commit 29f4492

Please sign in to comment.