Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
abhidtu2014 committed Mar 22, 2024
1 parent 092c8be commit 493ceac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/claim_sdk/eventSubscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ import tokenDispenser from './idl/token_dispenser.json'
import {
BorshCoder,
Idl,
AnchorProvider,
IdlEvents,
IdlTypes,
} from '@coral-xyz/anchor'
import { ConfirmedSignatureInfo, PublicKey, TransactionSignature } from '@solana/web3.js'
import { ConfirmedSignatureInfo } from '@solana/web3.js'
import { TokenDispenser } from './idl/token_dispenser'
import { base32encode } from './index'

Expand Down Expand Up @@ -233,7 +232,7 @@ function formatClaimInfo(
return {
ecosystem: 'solana',
address: new anchor.web3.PublicKey(
claimInfo.identity.solana.pubkey as PublicKey
claimInfo.identity.solana.pubkey as Uint8Array
).toBase58(),
amount: claimInfo.amount.toString(),
}
Expand Down

0 comments on commit 493ceac

Please sign in to comment.