Skip to content

Commit

Permalink
remove pending
Browse files Browse the repository at this point in the history
Signed-off-by: phuoc <[email protected]>
  • Loading branch information
phuocbitmark committed Nov 6, 2023
1 parent 670e525 commit bcd43ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/service/pending_token_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class PendingTokenService {
injector<TokensService>().postPendingToken(element);
}

await _tokenService.setCustomTokens(pendingTokens);
//await _tokenService.setCustomTokens(pendingTokens);
await _tokenService.reindexAddresses([owner]);
}

Expand Down
4 changes: 2 additions & 2 deletions lib/service/postcard_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ class PostcardServiceImpl extends PostcardService {
},
);

await _tokensService.setCustomTokens([token]);
//await _tokensService.setCustomTokens([token]);
_tokensService.reindexAddresses([address]);
injector.get<ConfigurationService>().setListPostcardMint([tokenID]);
NftCollectionBloc.eventController.add(
Expand Down Expand Up @@ -612,7 +612,7 @@ class PostcardServiceImpl extends PostcardService {
);

final tokenService = injector<TokensService>();
await tokenService.setCustomTokens([pendingToken]);
//await tokenService.setCustomTokens([pendingToken]);
tokenService.reindexAddresses([address]);
NftCollectionBloc.eventController.add(
GetTokensByOwnerEvent(pageKey: PageKey.init()),
Expand Down

0 comments on commit bcd43ca

Please sign in to comment.