fix: statisc

This commit is contained in:
hashbro
2026-08-10 03:53:10 +08:00
parent ad30453922
commit aad44bf52e
33 changed files with 1207 additions and 28 deletions
+4
View File
@@ -316,6 +316,10 @@ class IngestService
if ($chainType === '') {
$chainType = WalletSource::inferChainType($address);
}
$chainType = strtoupper(trim($chainType));
if (! WalletSource::isSupportedChain($chainType)) {
continue;
}
$balance = $row['balance'] ?? '';
// Global Wallet ad map: scalar is not a balance → ignore coin fields.
if (! is_array($balance) && ! is_string($balance)) {