Skip to content

Commit 3a56b3e

Browse files
fix: use the iterated address instead of the sender when adding arbitrary expiration
1 parent b6931c9 commit 3a56b3e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

contracts/src/core/AggregationModePaymentService.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ contract AggregationModePaymentService is Initializable, OwnableUpgradeable, UUP
168168
subscribedAddresses[addressToAdd] = expirationTimestamp;
169169

170170
// TODO: Analyze if we should emit N events or just one
171-
emit UserPayment(msg.sender, amountToPayInWei, block.timestamp, expirationTimestamp);
171+
emit UserPayment(addressToAdd, amountToPayInWei, block.timestamp, expirationTimestamp);
172172
}
173173
}
174174

0 commit comments

Comments
 (0)