Skip to content

Commit c232d91

Browse files
authored
Merge pull request #11 from Plazmathron/master
Change access control of function fromRaw in struct EthereumTransaction
2 parents c255819 + 6757436 commit c232d91

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)