Skip to content

Commit

Permalink
fix: add public accessifier to deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesulonimi21 committed Jan 28, 2022
1 parent 9da2032 commit c0dbf36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
Expand Down

0 comments on commit c0dbf36

Please sign in to comment.