This commit is contained in:
Eric 2024-10-23 18:51:59 +11:00
parent 93d8556e8b
commit b12ed2a1de
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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)