Skip to content

Commit

Permalink
Update SolanaTransaction.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
xueyuejie committed Aug 26, 2022
1 parent f463113 commit 00b703c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/SolanaSwift/Transaction/SolanaTransaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ extension SolanaTransaction: SolanaHumanReadable {
public struct SolanaSignedTransaction {
let transaction: SolanaTransaction
let signatures: [SolanaSignature]

public var signatureDatas: [Data] {
return signatures.map({$0.data})
}
}

extension SolanaSignedTransaction: BorshCodable {
Expand Down

0 comments on commit 00b703c

Please sign in to comment.