Skip to content

Commit

Permalink
Fix token address, publish
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Jun 15, 2020
1 parent 8ed80f8 commit 68bd490
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contracts/src.ts/publish-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export async function publishSourceCodeToEtherscan(address: string, contractName

const r = await Axios.post(etherscanApiUrl, qs.stringify(data));
const response = r.data;
if (response.status !== 1 && response.result !== "Contract source code already verified") {
throw new Error(`Failed to publish contract code, try again later, ${r.data.result}`);
if (response.message !== "OK" && response.result !== "Contract source code already verified") {
throw new Error(`Failed to publish contract code, try again later, ${response}`);
}
}

Expand Down
2 changes: 1 addition & 1 deletion etc/tokens/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"name": "Binance USD"
},
{
"address": "0x0D8775F648430679A709E98d2b0Cb6250d2887EF",
"address": "0x80fB784B7eD66730e8b1DBd9820aFD29931aab03",
"decimals": 18,
"symbol": "LEND",
"name": "EthLend"
Expand Down

0 comments on commit 68bd490

Please sign in to comment.