Skip to content

Commit

Permalink
Merge pull request #317 from VenusProtocol/fix/swap-router-deploy-script
Browse files Browse the repository at this point in the history
fix: add a missing param to SwapRouter deployment script
  • Loading branch information
chechu authored Aug 23, 2023
2 parents 48a2f6e + e5a47e8 commit f45173e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/006-deploy-swaprouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
await deploy("SwapRouter", {
contract: "SwapRouter",
from: deployer,
args: [WBNBAddress, pancakeFactoryAddress, ADDRESSES[networkName].Unitroller],
args: [WBNBAddress, pancakeFactoryAddress, ADDRESSES[networkName].Unitroller, ADDRESSES[networkName].vBNB],
log: true,
autoMine: true,
});
Expand Down

0 comments on commit f45173e

Please sign in to comment.