From 91edf6f01a3743ea5933f8aaba9ea88d9868ebea Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 1 Feb 2024 16:43:44 +0100 Subject: [PATCH] feat: add msg.sender to message identifier --- src/apps/polymer/IncentivizedPolymerEscrow.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/polymer/IncentivizedPolymerEscrow.sol b/src/apps/polymer/IncentivizedPolymerEscrow.sol index 223a324..64557d1 100644 --- a/src/apps/polymer/IncentivizedPolymerEscrow.sol +++ b/src/apps/polymer/IncentivizedPolymerEscrow.sol @@ -58,7 +58,7 @@ contract IncentivizedPolymerEscrow is IMETimeoutExtension, IbcMwUser, IbcUnivers returns (bytes32) { return keccak256( - abi.encodePacked(bytes32(block.number), _UNIQUE_SOURCE_IDENTIFIER(), destinationIdentifier, message) + abi.encodePacked(msg.sender, bytes32(block.number), _UNIQUE_SOURCE_IDENTIFIER(), destinationIdentifier, message) ); }