From c67f298ee6f6362ba382d324218dea2e9702c3f0 Mon Sep 17 00:00:00 2001 From: Mark Beamer Jr Date: Thu, 19 Sep 2019 22:15:52 -0400 Subject: [PATCH] Add channel id to claim if exists for more precise filtering --- server/utils/chainquery/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/utils/chainquery/index.js b/server/utils/chainquery/index.js index a7868b5..bd36265 100644 --- a/server/utils/chainquery/index.js +++ b/server/utils/chainquery/index.js @@ -175,6 +175,7 @@ function getClaimsSince (time, lastID, MaxClaimsInCall) { `c.id, ` + `c.name,` + `p.name as channel,` + + `p.claim_id as channel_id,` + `c.bid_state,` + `c.effective_amount,` + `COALESCE(p.effective_amount,1) as certificate_amount,` +