Fix: Wallet's transaction had null blockhash on greenfield

This commit is contained in:
nicolas.dorier 2025-01-28 14:42:06 +09:00
parent 7faf95552a
commit 192d339a79
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -269,7 +269,7 @@ namespace BTCPayServer.Services.Wallets
SeenAt = row.seen_at,
TransactionId = uint256.Parse(row.tx_id),
Confirmations = row.confs,
BlockHash = string.IsNullOrEmpty(row.asset_id) ? null : uint256.Parse(row.blk_id)
BlockHash = string.IsNullOrEmpty(row.blk_id) ? null : uint256.Parse(row.blk_id)
});
}
return lines;