Skip to content

Commit 9ebd525

Browse files
authored
Update MessageHeader.swift
1 parent edcbbee commit 9ebd525

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+
private(set) public var numRequiredSignatures: Int = 0
7+
private(set) public var numReadonlySignedAccounts: Int = 0
8+
private(set) public var numReadonlyUnsignedAccounts: Int = 0
99

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

0 commit comments

Comments
 (0)