Skip to content

Commit

Permalink
Update MessageHeader.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
TrGiLong authored Jan 11, 2024
1 parent edcbbee commit 9ebd525
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/SolanaSwift/Models/Message/MessageHeader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import Foundation
public struct MessageHeader: Decodable, Equatable {
static let LENGTH = 3

var numRequiredSignatures: Int = 0
var numReadonlySignedAccounts: Int = 0
var numReadonlyUnsignedAccounts: Int = 0
private(set) public var numRequiredSignatures: Int = 0
private(set) public var numReadonlySignedAccounts: Int = 0
private(set) public var numReadonlyUnsignedAccounts: Int = 0

var bytes: [UInt8] {
[UInt8(numRequiredSignatures), UInt8(numReadonlySignedAccounts), UInt8(numReadonlyUnsignedAccounts)]
Expand Down

0 comments on commit 9ebd525

Please sign in to comment.