Skip to content

Commit 30ff8ec

Browse files
committed
fix deploy-super-token.js
1 parent f9adbfa commit 30ff8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ethereum-contracts/scripts/deploy-super-token.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = async function (callback, argv, options = {}) {
7575

7676
let tokenSymbol;
7777
let tokenAddress;
78-
if (web3.utils.isAddress) {
78+
if (web3.utils.isAddress(tokenSymbolOrAddress)) {
7979
tokenAddress = tokenSymbolOrAddress;
8080
tokenSymbol = await (
8181
await ERC20WithTokenInfo.at(tokenAddress)

0 commit comments

Comments
 (0)