Skip to content

Commit

Permalink
fix: fix encoding issue in sendMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
DefiCake committed Apr 15, 2024
1 parent c20bead commit 87a1559
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ contract FuelERC20GatewayV4 is
function sendMetadata(address tokenAddress) external payable virtual whenNotPaused {
bytes memory metadataMessage = abi.encodePacked(
assetIssuerId,
MessageType.METADATA,
uint256(MessageType.METADATA),
abi.encode(
tokenAddress,
uint256(0), // token_id = 0 for all erc20 deposits
Expand Down

0 comments on commit 87a1559

Please sign in to comment.