Skip to content

Commit 6757436

Browse files
committed
Change access control of function fromRaw in struct EthereumTransaction
1 parent 8148750 commit 6757436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web3swift/Transaction/Classes/EthereumTransaction.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public struct EthereumTransaction: CustomStringConvertible {
274274
return transaction
275275
}
276276

277-
static func fromRaw(_ raw: Data) -> EthereumTransaction? {
277+
public static func fromRaw(_ raw: Data) -> EthereumTransaction? {
278278
guard let totalItem = RLP.decode(raw) else {return nil}
279279
guard let rlpItem = totalItem[0] else {return nil}
280280
switch rlpItem.count {

0 commit comments

Comments
 (0)