From bcd43ca98a3892368d21e1679303cc49cce95514 Mon Sep 17 00:00:00 2001 From: phuoc Date: Mon, 6 Nov 2023 15:52:50 +0700 Subject: [PATCH] remove pending Signed-off-by: phuoc --- lib/service/pending_token_service.dart | 2 +- lib/service/postcard_service.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/service/pending_token_service.dart b/lib/service/pending_token_service.dart index 34f2e2fa9..c7d2459a6 100644 --- a/lib/service/pending_token_service.dart +++ b/lib/service/pending_token_service.dart @@ -209,7 +209,7 @@ class PendingTokenService { injector().postPendingToken(element); } - await _tokenService.setCustomTokens(pendingTokens); + //await _tokenService.setCustomTokens(pendingTokens); await _tokenService.reindexAddresses([owner]); } diff --git a/lib/service/postcard_service.dart b/lib/service/postcard_service.dart index 4d76a0e9c..cd90474b3 100644 --- a/lib/service/postcard_service.dart +++ b/lib/service/postcard_service.dart @@ -579,7 +579,7 @@ class PostcardServiceImpl extends PostcardService { }, ); - await _tokensService.setCustomTokens([token]); + //await _tokensService.setCustomTokens([token]); _tokensService.reindexAddresses([address]); injector.get().setListPostcardMint([tokenID]); NftCollectionBloc.eventController.add( @@ -612,7 +612,7 @@ class PostcardServiceImpl extends PostcardService { ); final tokenService = injector(); - await tokenService.setCustomTokens([pendingToken]); + //await tokenService.setCustomTokens([pendingToken]); tokenService.reindexAddresses([address]); NftCollectionBloc.eventController.add( GetTokensByOwnerEvent(pageKey: PageKey.init()),