File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -653,8 +653,7 @@ impl Hypermap {
653
653
let perms_note_hash_str = format ! ( "0x{}" , hex:: encode( perms_note_hash) ) ;
654
654
655
655
// 4. Get the permissions note using the hash
656
- let ( _perms_tba, _perms_owner, perms_data_opt) =
657
- self . get_hash ( & perms_note_hash_str) ?;
656
+ let ( _perms_tba, _perms_owner, perms_data_opt) = self . get_hash ( & perms_note_hash_str) ?;
658
657
659
658
let perms_data = perms_data_opt. ok_or_else ( || {
660
659
// Permissions note not found or has no data - malformed/unexpected response
Original file line number Diff line number Diff line change @@ -2164,11 +2164,11 @@ pub fn get_token_details(
2164
2164
///
2165
2165
/// # Returns
2166
2166
/// A `Vec<u8>` containing the ABI-encoded calldata.
2167
- pub fn create_erc20_transfer_calldata (
2168
- recipient : EthAddress ,
2169
- amount : U256 ,
2170
- ) -> Vec < u8 > {
2171
- let call = IERC20 :: transferCall { to : recipient , value : amount } ;
2167
+ pub fn create_erc20_transfer_calldata ( recipient : EthAddress , amount : U256 ) -> Vec < u8 > {
2168
+ let call = IERC20 :: transferCall {
2169
+ to : recipient ,
2170
+ value : amount ,
2171
+ } ;
2172
2172
call. abi_encode ( )
2173
2173
}
2174
2174
You can’t perform that action at this time.
0 commit comments