Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ajamaica committed Nov 28, 2022
1 parent d6e045a commit 5ddf211
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@
package com.metaplex.lib.programs.token_metadata.accounts

import com.metaplex.lib.modules.nfts.models.MetaplexContstants
import com.metaplex.lib.programs.token_metadata.MetadataKey
import com.metaplex.lib.serialization.serializers.solana.ByteDiscriminatorSerializer
import com.metaplex.lib.serialization.serializers.solana.PublicKeyAs32ByteSerializer
import com.metaplex.lib.shared.OperationError
import com.metaplex.lib.shared.ResultWithCustomError
import com.solana.core.PublicKey
import com.solana.networking.serialization.serializers.solana.PublicKeyAsStringSerializer
import com.solana.vendor.borshj.*
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
Expand All @@ -23,11 +20,11 @@ import org.bitcoinj.core.Base58
// this will be replaced with beet kt generated code in the near future

enum class MetaplexTokenStandard {
NonFungible, FungibleAsset, Fungible, NonFungibleEdition, Unkown
NonFungible, FungibleAsset, Fungible, NonFungibleEdition, Unknown
}

enum class MetaplexCollectionDetails {
V1, Unkown
V1, Unknown
}

@Serializable
Expand Down Expand Up @@ -119,7 +116,7 @@ object CollectionDetailsSerializer : KSerializer<MetaplexCollectionDetails> {
return MetaplexCollectionDetails.values().getOrNull(decoder.decodeByte().toInt())?.let {
it
}.run {
MetaplexCollectionDetails.Unkown
MetaplexCollectionDetails.Unknown
}
}
}
Expand All @@ -135,7 +132,7 @@ object MetaplexTokenStandardSerializer : KSerializer<MetaplexTokenStandard> {
return MetaplexTokenStandard.values().getOrNull(decoder.decodeByte().toInt())?.let {
it
}.run {
MetaplexTokenStandard.Unkown
MetaplexTokenStandard.Unknown
}
}
}

0 comments on commit 5ddf211

Please sign in to comment.