Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Oct 8, 2022
1 parent 47bf30e commit 8079063
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,6 @@ var ERC20onPolygon = [

var findAccount = async ({ token, owner })=>{

console.log('BEFORE');
let existingAccounts = await request(`solana://${TOKEN_PROGRAM}/getProgramAccounts`, {
api: TOKEN_LAYOUT,
params: { filters: [
Expand All @@ -908,7 +907,6 @@ var findAccount = async ({ token, owner })=>{
{ memcmp: { offset: 0, bytes: token }}
]}
});
console.log('AFTER');

let existingAccount = existingAccounts.sort((a, b) => (a.account.data.amount.lt(b.account.data.amount) ? 1 : -1))[0];

Expand Down
2 changes: 0 additions & 2 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,6 @@

var findAccount = async ({ token, owner })=>{

console.log('BEFORE');
let existingAccounts = await web3Client.request(`solana://${TOKEN_PROGRAM}/getProgramAccounts`, {
api: TOKEN_LAYOUT,
params: { filters: [
Expand All @@ -909,7 +908,6 @@
{ memcmp: { offset: 0, bytes: token }}
]}
});
console.log('AFTER');

let existingAccount = existingAccounts.sort((a, b) => (a.account.data.amount.lt(b.account.data.amount) ? 1 : -1))[0];

Expand Down

0 comments on commit 8079063

Please sign in to comment.