File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
veascan-subgraph-outbox/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export function handleVerificationStarted(event: VerificationStarted): void {
78
78
) {
79
79
const claimId = event . address . toHexString ( ) + "-" + i . toString ( ) ;
80
80
const claim = Claim . load ( claimId ) ;
81
- if ( claim && claim . epoch . equals ( event . params . _epoch ) ) {
81
+ if ( claim ? .epoch . equals ( event . params . _epoch ) ) {
82
82
const verification = new Verification ( claim . id ) ;
83
83
verification . claim = claim . id ;
84
84
verification . startTimestamp = event . block . timestamp ;
@@ -99,7 +99,7 @@ export function handleVerified(event: Verified): void {
99
99
) {
100
100
const claimId = event . address . toHexString ( ) + "-" + i . toString ( ) ;
101
101
const claim = Claim . load ( claimId ) ;
102
- if ( claim && claim . epoch . equals ( event . params . _epoch ) ) {
102
+ if ( claim ? .epoch . equals ( event . params . _epoch ) ) {
103
103
claim . verified = true ;
104
104
claim . save ( ) ;
105
105
You can’t perform that action at this time.
0 commit comments