Skip to content

Commit 3195f2f

Browse files
committed
feat: remove BUFFER_LENGTH from BufferLayout requirement
1 parent 07d4b36 commit 3195f2f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/SolanaSwift/Models/BufferLayout/BufferLayout.swift

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import Foundation
33
public enum BufferLayoutError: Error {
44
case NotImplemented
55
}
6-
public protocol BufferLayout: Codable, BorshCodable {
7-
static var BUFFER_LENGTH: UInt64 { get }
8-
}
6+
public protocol BufferLayout: Codable, BorshCodable {}
97

108
extension BufferLayout {
119
public init(from decoder: Decoder) throws {

0 commit comments

Comments
 (0)