fix(community): Owner token / Token Master token not visible in community settings (#15983)
Fixes #15830 followup task #15981 - reload tokens when app goes back online
This commit is contained in:
parent
6aa6746de2
commit
8d4a2ec983
|
@ -378,6 +378,7 @@ proc getCommunityTokensDetailsTaskArg(argEncoded: string) {.gcsafe, nimcall.} =
|
|||
var destructedAmount = "0"
|
||||
|
||||
if tokenDto.deployState == DeployState.Deployed:
|
||||
try:
|
||||
remainingSupply =
|
||||
if tokenDto.infiniteSupply:
|
||||
"0"
|
||||
|
@ -388,6 +389,8 @@ proc getCommunityTokensDetailsTaskArg(argEncoded: string) {.gcsafe, nimcall.} =
|
|||
remoteDestructedAddresses = getRemoteDestructedAddresses(tokenDto.chainId, tokenDto.address)
|
||||
|
||||
destructedAmount = getRemoteDestructedAmount(communityTokens, tokenDto.chainId, tokenDto.address)
|
||||
except Exception as e:
|
||||
error "Remote token state retrieval error", message = getCurrentExceptionMsg()
|
||||
|
||||
return %* {
|
||||
"address": tokenDto.address,
|
||||
|
|
Loading…
Reference in New Issue