Skip to content

Commit

Permalink
fix(protocol): allow resolver to return zero address for EtherVault (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
d1onys1us committed Feb 3, 2023
1 parent 34c5501 commit cb34cf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ library LibBridgeProcess {
);

// We retrieve the necessary ether from EtherVault
address ethVault = resolver.resolve("ether_vault", false);
address ethVault = resolver.resolve("ether_vault", true);
if (ethVault != address(0)) {
EtherVault(payable(ethVault)).releaseEther(
message.depositValue + message.callValue + message.processingFee
Expand Down

0 comments on commit cb34cf0

Please sign in to comment.