Skip to content

Commit ff4183f

Browse files
committed
addressing comments
1 parent b75658f commit ff4183f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/transaction-controller/src/utils/simulation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,14 +288,14 @@ async function getTokenBalanceChanges(
288288
): Promise<SimulationTokenBalanceChange[]> {
289289
const balanceTxs = getTokenBalanceTransactions(request, events);
290290

291+
log('Generated balance transactions', [...balanceTxs.after.values()]);
292+
291293
const transactions = [
292294
...balanceTxs.before.values(),
293295
request,
294296
...balanceTxs.after.values(),
295297
];
296298

297-
log('Generated balance transactions', transactions);
298-
299299
if (transactions.length === 1) {
300300
return [];
301301
}
@@ -424,7 +424,7 @@ function getTokenBalanceTransactions(
424424
*/
425425
function skipPriorBalanceCheck(event: ParsedEvent): boolean {
426426
// In the case of an NFT mint, we cannot check the NFT owner before the mint
427-
// as the blance check transaction would revert.
427+
// as the balance check transaction would revert.
428428
return (
429429
event.name === 'Transfer' &&
430430
event.tokenStandard === SimulationTokenStandard.erc721 &&

0 commit comments

Comments
 (0)