We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edcbbee + 7170f56 commit d39aeb8Copy full SHA for d39aeb8
Sources/SolanaSwift/Models/Message/MessageHeader.swift
@@ -3,9 +3,9 @@ import Foundation
3
public struct MessageHeader: Decodable, Equatable {
4
static let LENGTH = 3
5
6
- var numRequiredSignatures: Int = 0
7
- var numReadonlySignedAccounts: Int = 0
8
- var numReadonlyUnsignedAccounts: Int = 0
+ public internal(set) var numRequiredSignatures: Int = 0
+ public internal(set) var numReadonlySignedAccounts: Int = 0
+ public internal(set) var numReadonlyUnsignedAccounts: Int = 0
9
10
var bytes: [UInt8] {
11
[UInt8(numRequiredSignatures), UInt8(numReadonlySignedAccounts), UInt8(numReadonlyUnsignedAccounts)]
0 commit comments