Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit e8ffa75

Browse files
authored
Merge pull request #281 from dexon-foundation/master
let JsonRpcRequestDispatcher init function public for custom use
2 parents 4784042 + fda52d7 commit e8ffa75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/web3swift/Web3/Batching.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class JsonRpcRequestDispatcher {
2222
private var lockQueue: DispatchQueue
2323
private var batches: [Batch] = [Batch]()
2424

25-
init(provider: Web3Provider, queue: DispatchQueue, policy: DispatchPolicy) {
25+
public init(provider: Web3Provider, queue: DispatchQueue, policy: DispatchPolicy) {
2626
self.provider = provider
2727
self.queue = queue
2828
self.policy = policy

0 commit comments

Comments
 (0)