Skip to content

Commit d39aeb8

Browse files
authored
Merge pull request #86 from p2p-org/Make-MessageHeader-public
Update MessageHeader.swift
2 parents edcbbee + 7170f56 commit d39aeb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SolanaSwift/Models/Message/MessageHeader.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import Foundation
33
public struct MessageHeader: Decodable, Equatable {
44
static let LENGTH = 3
55

6-
var numRequiredSignatures: Int = 0
7-
var numReadonlySignedAccounts: Int = 0
8-
var numReadonlyUnsignedAccounts: Int = 0
6+
public internal(set) var numRequiredSignatures: Int = 0
7+
public internal(set) var numReadonlySignedAccounts: Int = 0
8+
public internal(set) var numReadonlyUnsignedAccounts: Int = 0
99

1010
var bytes: [UInt8] {
1111
[UInt8(numRequiredSignatures), UInt8(numReadonlySignedAccounts), UInt8(numReadonlyUnsignedAccounts)]

0 commit comments

Comments
 (0)