Skip to content

Commit

Permalink
Adds relay as verified hardware in registry contract
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-toth committed Jul 30, 2024
1 parent 2bcfdea commit da2d42b
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/verification/verification.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,14 +770,19 @@ export class VerificationService {
.writeInteraction<AddClaimableBatched>({
function: 'addClaimableBatched',
relays: relayBatch.map(
({ relay: {
fingerprint,
ator_address,
nickname
}}) => ({
({
relay: {
fingerprint,
ator_address,
nickname
},
isHardwareProofValid
}) => ({
fingerprint,
address: ator_address,
nickname
nickname,
hardwareVerified:
isHardwareProofValid || undefined
})
)
})
Expand Down

0 comments on commit da2d42b

Please sign in to comment.