Skip to content

Commit

Permalink
remove duplicated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ALPAC-4 committed Nov 7, 2024
1 parent 60f5aad commit 988ea31
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions precompile/modules/initia_stdlib/sources/minitswap.move
Original file line number Diff line number Diff line change
Expand Up @@ -2460,8 +2460,6 @@ module initia_std::minitswap {
let denom_bytes_len = vector::length(&denom_bytes);
let receiver_bytes = pad_zero(*string::bytes(receiver));

// selector: keccak256(b"minitswapHook(string,uint256,string)")
// start position of denom: padded(0x60)
let hex_input = vector[0xbe, 0xed, 0x09, 0x35]; // selector: keccak256(b"minitswapHook(string,uint256,string")).slice(0, 4)
vector::append(&mut hex_input, table_key::encode_u256(0x60)); // start position of denom: padded(0x60)
vector::append(&mut hex_input, table_key::encode_u256((amount as u256)));
Expand Down

0 comments on commit 988ea31

Please sign in to comment.