From c0dbf36eee96c7cffa7d9b75ada951e115375645 Mon Sep 17 00:00:00 2001 From: jesulonimi21 Date: Fri, 28 Jan 2022 12:01:31 +0100 Subject: [PATCH] fix: add public accessifier to deprecated method --- Sources/swift-algorand-sdk/v2/client/algod/RawTransaction.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/swift-algorand-sdk/v2/client/algod/RawTransaction.swift b/Sources/swift-algorand-sdk/v2/client/algod/RawTransaction.swift index 660bffb..1ee1e13 100644 --- a/Sources/swift-algorand-sdk/v2/client/algod/RawTransaction.swift +++ b/Sources/swift-algorand-sdk/v2/client/algod/RawTransaction.swift @@ -28,7 +28,7 @@ public class RawTransaction: Request { } @available(*, deprecated, message: "Use `init(client: AlgodClient, rawtxn: [Int8])` instead") - func rawtxn(rawtaxn: [Int8]) -> RawTransaction { + public func rawtxn(rawtaxn: [Int8]) -> RawTransaction { self.parameters = .init(path: "/v2/transactions/", headers: ["Content-type": "application/x-binary"], method: .post, encoding: ByteEncoding(data: Data(CustomEncoder.convertToUInt8Array(input: rawtaxn))))