Add channel id to claim if exists for more precise filtering

This commit is contained in:
Mark Beamer Jr 2019-09-19 22:15:52 -04:00
parent 84ab5eae36
commit c67f298ee6
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973

View file

@ -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,` +