mirror of https://github.com/status-im/evmc.git
rust: ExecutionContext::get_tx_context should not require a mutable self
This commit is contained in:
parent
25dac2194b
commit
b9de8476dd
|
@ -184,7 +184,7 @@ impl<'a> ExecutionContext<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn get_tx_context(&mut self) -> &ExecutionTxContext {
|
||||
pub fn get_tx_context(&self) -> &ExecutionTxContext {
|
||||
&self.tx_context
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue