Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bokkypoobah committed Apr 27, 2024
1 parent f83db03 commit eacd20b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/online.html
Original file line number Diff line number Diff line change
Expand Up @@ -831,9 +831,9 @@
const provider = new ethers.providers.Web3Provider(window.ethereum);
this.settings.prepare.chainId = this.chainId;
const tokenInfo = this.settings.prepare.token.address && this.addresses[this.settings.prepare.token.address] || {};
// console.log("1: " + JSON.stringify(this.addresses[this.settings.prepare.token.address]));
console.log("tokenInfo: " + JSON.stringify(tokenInfo, null, 2));
// console.log("2: " + JSON.stringify(this.addresses[this.settings.prepare.token.address].chains));
if (this.settings.prepare.token.address && tokenInfo.chains.includes(this.chainId)) {
if (this.settings.prepare.token.address && tokenInfo.chains.includes(this.chainId.toString())) {
this.settings.prepare.token.name = tokenInfo.name;
this.settings.prepare.token.symbol = tokenInfo.symbol;
this.settings.prepare.token.decimals = tokenInfo.decimals;
Expand Down

0 comments on commit eacd20b

Please sign in to comment.