You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
fnhandle_fee(&self,state:&mutdynState,tx_context:Arc<TransactionContext>,actual_fee:Fee,charge_fee:bool,) -> TransactionExecutionResult<Option<CallInfo>>{if !charge_fee || actual_fee == Fee(0){// Fee charging is not enforced in some transaction simulations and tests.returnOk(None);}// Charge fee.let fee_transfer_call_info = Self::execute_fee_transfer(state, tx_context, actual_fee)?;Ok(Some(fee_transfer_call_info))}
&self is not used. It can be removed and implemented as a type function, like Self::execute_fee_transfer it internally calls.
Or even as a standalone function as it does not use anything associated with the type like type constants or anything else
The text was updated successfully, but these errors were encountered:
* fix: remove from manifests name and use
* fix: generate new manifests
* ci: re-enable ensure-windows
* fix: add new generated manifests for tests
* fix: adjust clean command to new manifests path
&self
is not used. It can be removed and implemented as a type function, likeSelf::execute_fee_transfer
it internally calls.Or even as a standalone function as it does not use anything associated with the type like type constants or anything else
The text was updated successfully, but these errors were encountered: