From d79ad32a49478fc1de84d88728723d4205c1316c Mon Sep 17 00:00:00 2001 From: Mykola Sakhno Date: Thu, 20 Jun 2024 19:47:50 +0300 Subject: [PATCH] fix env variable name --- script/SetSeed.s.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/SetSeed.s.sol b/script/SetSeed.s.sol index ccd2d3d..d7ffa77 100644 --- a/script/SetSeed.s.sol +++ b/script/SetSeed.s.sol @@ -39,10 +39,10 @@ contract SetSeed is Script, AddressReaderWriter { console.log("BTC_ADDR2:", btcAddr2); // get network - uint _network = vm.envUint("Network"); + uint _network = vm.envUint("BTC_NETWORK"); uint8 network = uint8(_network); - console.log("Network:", network); + console.log("BTC_NETWORK:", network); BTCDepositAddressDeriver deriver = BTCDepositAddressDeriver( contractAddress