diff --git a/Sources/SolanaSwift/BlockchainClient/Helpers/Borsh/BorshSerialize.swift b/Sources/SolanaSwift/BlockchainClient/Helpers/Borsh/BorshSerialize.swift index 1031b0aa7..3f0b037ff 100644 --- a/Sources/SolanaSwift/BlockchainClient/Helpers/Borsh/BorshSerialize.swift +++ b/Sources/SolanaSwift/BlockchainClient/Helpers/Borsh/BorshSerialize.swift @@ -44,7 +44,7 @@ extension Bool: BorshSerializable { } } -extension Optional where Wrapped: BorshSerializable { +public extension Optional where Wrapped: BorshSerializable { func serialize(to writer: inout Data) throws { switch self { case let .some(value):