File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/transaction-controller/src/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 */
425425function 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 &&
You can’t perform that action at this time.
0 commit comments