From cb34cf0e0fd182feb6eed4abf6ca9f6a2801e5f1 Mon Sep 17 00:00:00 2001 From: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com> Date: Fri, 3 Feb 2023 02:17:07 -0500 Subject: [PATCH] fix(protocol): allow resolver to return zero address for EtherVault (#13083) --- packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol b/packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol index b30e42a5532..7feeea1bc92 100644 --- a/packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol +++ b/packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol @@ -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