Skip to content

Commit

Permalink
Update new generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
gamalielhere committed Jul 21, 2020
1 parent 7d05b25 commit 8f3cd16
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/token-contract-2/contractTokens.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions packages/token-contract-2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function differenceTokenList(arr) {;
if(arr.length > 0) {
const contract = new web3.eth.Contract(abi, process.env.CONTRACT_ADDRESS);
const FROM = "0x" + ethUtil.privateToAddress("0x"+process.env.PRIV).toString("hex");
for (let i = 0; i < arr.length; i++) {
for (let i = 20; i < 50; i++) {
let txCount = await web3.eth.getTransactionCount(FROM);
let name = arr[i].name.length > 7 ? web3.utils.utf8ToHex(arr[i].symbol) : web3.utils.utf8ToHex(arr[i].name);
let symbol = web3.utils.utf8ToHex(arr[i].symbol);
Expand Down Expand Up @@ -84,7 +84,6 @@ async function run() {
});

if (foundToken === undefined) {
console.error('found')
diffTokens.push(mewTokes);
}
})
Expand Down
2 changes: 1 addition & 1 deletion packages/token-contract-2/mewTokens.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/token-contract-2/notInContractTokens.json

Large diffs are not rendered by default.

0 comments on commit 8f3cd16

Please sign in to comment.