Skip to content

Commit

Permalink
fix(chain-ops): Linter-reported issue about mutability
Browse files Browse the repository at this point in the history
  • Loading branch information
KirilMihaylov committed Aug 28, 2024
1 parent 4a50766 commit c830d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain-comms/src/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl Signer {
&self.account.address
}

pub fn sign(&mut self, body: Body, fee: Fee) -> ModuleResult<TxRaw> {
pub fn sign(&self, body: Body, fee: Fee) -> ModuleResult<TxRaw> {
let body = Message::encode_to_vec(&body.into_proto());

let auth_info = Message::encode_to_vec(
Expand Down

0 comments on commit c830d2b

Please sign in to comment.