Skip to content

Commit

Permalink
is ether released public function
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Feb 22, 2023
1 parent ac068be commit e533a2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/protocol/contracts/bridge/Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,8 @@ contract Bridge is EssentialContract, IBridge {
) public pure returns (bytes32) {
return LibBridgeStatus.getMessageStatusSlot(msgHash);
}

function isEtherReleased(bytes32 msgHash) public view returns (bool) {
return _state.etherReleased[msgHash];
}
}

0 comments on commit e533a2a

Please sign in to comment.