Skip to content

Commit

Permalink
hotfix: fixed sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gsoares85 committed Feb 9, 2024
1 parent 7ea2dee commit 0760427
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions bridge/hardhat/script/changeOwner.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ async function main() {

let newWalletAddress = null;

if(network === "rsktestnet") {
newWalletAddress = '0x51591ec8f296ef3e4deebe32c392c706aef42133';
}
if(network === "sepolia") {
newWalletAddress = '0x0d4FC5C4847Eab6e5759656a8e0740Ea64A9582d';
switch (network){
case "rsktestnet":
newWalletAddress = '0x51591ec8f296ef3e4deebe32c392c706aef42133';
break;
case "sepolia":
newWalletAddress = '0x0d4FC5C4847Eab6e5759656a8e0740Ea64A9582d';
break;
default:
newWalletAddress = null;
break;
}

if (newWalletAddress === null) {
Expand Down

0 comments on commit 0760427

Please sign in to comment.