mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-08 00:23:07 +00:00
oopsie
This commit is contained in:
parent
93d8556e8b
commit
b12ed2a1de
@ -15,7 +15,7 @@ type MockRpcHttpServer* = ref object
|
||||
|
||||
proc new*(_: type MockRpcHttpServer): MockRpcHttpServer =
|
||||
let port = rand(65000..<66000)
|
||||
let srv = newRpcHttpServer(["127.0.0.1:" & port])
|
||||
let srv = newRpcHttpServer(["127.0.0.1:" & $port])
|
||||
let filters = initTable[string, bool]()
|
||||
MockRpcHttpServer(filters: filters, newFilterCounter: 0, srv: srv)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user