diff --git a/contracts/interfaces/ITransfers.sol b/contracts/interfaces/ITransfers.sol index e8bd4b1..bc3564d 100644 --- a/contracts/interfaces/ITransfers.sol +++ b/contracts/interfaces/ITransfers.sol @@ -23,7 +23,7 @@ struct TransferIntent { address recipientCurrency; address refundDestination; uint256 feeAmount; - bytes16 id; + bytes32 id; address operator; bytes signature; bytes prefix; @@ -52,7 +52,7 @@ interface ITransfers { // @param spentCurrency What currency the payer sent event Transferred( address indexed operator, - bytes16 id, + bytes32 id, address recipient, address sender, uint256 spentAmount, diff --git a/contracts/transfers/Transfers.sol b/contracts/transfers/Transfers.sol index fb19d7a..4e9967f 100644 --- a/contracts/transfers/Transfers.sol +++ b/contracts/transfers/Transfers.sol @@ -34,7 +34,7 @@ contract Transfers is Context, Ownable, Pausable, ReentrancyGuard, Sweepable, IT mapping(address => address) private feeDestinations; // @dev Map of operator addresses to a map of transfer intent ids that have been processed - mapping(address => mapping(bytes16 => bool)) private processedTransferIntents; + mapping(address => mapping(bytes32 => bool)) private processedTransferIntents; // @dev Represents native token of a chain (e.g. ETH or MATIC) address private immutable NATIVE_CURRENCY = address(0);