Skip to content

Commit

Permalink
slash msg
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Dec 13, 2023
1 parent 1212491 commit a188c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helix-contract/contracts/messagers/MsglineMessager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ contract MsglineMessager is Application, AccessController {
}

function slashMessage(bytes32 transferId) external {
require(slashTransferIds[transferId] == 0, "!slash");
slashTransferIds[transferId] = block.timestamp;
}

Expand Down

0 comments on commit a188c5f

Please sign in to comment.