File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
contracts/stellar-interchain-token-service/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ impl InterchainTokenService {
479
479
env : & Env ,
480
480
token_id : BytesN < 32 > ,
481
481
) -> Result < TokenIdConfigValue , ContractError > {
482
- let config = Self :: token_id_config ( env, token_id. clone ( ) ) ?;
482
+ let config = Self :: token_id_config ( env, token_id) ?;
483
483
484
484
Ok ( config)
485
485
}
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ impl FlowDirection {
74
74
// Equivalent to flow_amount + flow - reverse_flow <= flow_limit
75
75
ensure ! ( new_flow <= max_allowed, ContractError :: FlowLimitExceeded ) ;
76
76
77
- self . update_flow ( env, token_id. clone ( ) , new_flow) ;
77
+ self . update_flow ( env, token_id, new_flow) ;
78
78
79
79
Ok ( ( ) )
80
80
}
You can’t perform that action at this time.
0 commit comments