Skip to content

Commit

Permalink
fix(bug): handle message.to == signal_service (#15385)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik authored Dec 15, 2023
1 parent 97f83f0 commit cc2b66c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/protocol/contracts/bridge/Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ contract Bridge is EssentialContract, IBridge {
uint256 refundAmount;

// Process message differently based on the target address
if (message.to == address(0) || message.to == address(this)) {
if (
message.to == address(0) || message.to == address(this)
|| message.to == resolve("signal_service", false)
) {
// Handle special addresses that don't require actual invocation but
// mark message as DONE
status = Status.DONE;
Expand Down

0 comments on commit cc2b66c

Please sign in to comment.