Skip to content

Commit

Permalink
multi line changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Jan 15, 2024
1 parent ce2b705 commit e69344b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lines/MultiLine.sol
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ contract MultiLine is Ownable2Step, Application, BaseMessageLine, LineLookup {

emit LineMessageConfirmation(lineMsgId, line);

if (block.timestamp > lineMsg.expiration) {
if (block.timestamp > lineMsg.expiration || block.timestamp + MAX_MESSAGE_EXPIRATION <= args.expiration) {
emit LineMessageExpired(lineMsgId);
return;
}
Expand Down

0 comments on commit e69344b

Please sign in to comment.