Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
Revert
  • Loading branch information
LoafPickleWW authored Jan 15, 2024
1 parent d1cb1dc commit 449f151
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -761,16 +761,7 @@ export async function createAssetOptoutTransactions(
suggestedParams: params,
closeRemainderTo: creatorAddress.trim(),
note: new TextEncoder().encode("via Thurstober Digital Studios"),
})} else {
const tx = makeAssetTransferTxnWithSuggestedParamsFromObject({
from: wallet,
to: creatorAddress.trim(),
amount: 0,
assetIndex: parseInt(assets[i]),
suggestedParams: params,
closeRemainderTo: wallet.trim(),
note: new TextEncoder().encode("via Thurstober Digital Studios"),
})};
});
txnsArray.push(tx);
}
}
Expand Down

0 comments on commit 449f151

Please sign in to comment.