Skip to content

Commit

Permalink
common: reference conflict targets when upserting POIDisputes
Browse files Browse the repository at this point in the history
  • Loading branch information
tilacog committed Aug 30, 2023
1 parent af3877c commit 4b666d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default {
'previousEpochReferenceProof',
'status',
],
conflictAttributes: ['allocationID', 'protocolNetwork'],
})
return createdDisputes.map((dispute: POIDispute) => dispute.toGraphQL())
},
Expand Down
2 changes: 1 addition & 1 deletion packages/indexer-common/src/operator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ export class Operator {
)
} catch (error) {
const err = indexerError(IndexerErrorCode.IE039, error)
this.logger.error('Failed to store potential POI disputes', {
this.logger.error('Failed to fetch POI disputes', {
err,
})
throw err
Expand Down

0 comments on commit 4b666d9

Please sign in to comment.