Skip to content

Commit

Permalink
Merge pull request #212 from metaplex-foundation/fix/program-account-…
Browse files Browse the repository at this point in the history
…puredata

Rename publicKey to pubkey for decoding
  • Loading branch information
ajamaica authored Oct 31, 2022
2 parents 78cd082 + 5ec3206 commit f7bd54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Solana/Models/SolanaSDK+Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public struct ProgramAccount<T: BufferLayout>: Decodable {
}

public struct ProgramAccountPureData: Decodable {
public let publicKey: String
public let pubkey: String
public let account: BufferInfoPureData
}

Expand Down

0 comments on commit f7bd54e

Please sign in to comment.