Fixed build
This commit is contained in:
parent
3e286c08b4
commit
fd08fa3883
@ -233,7 +233,7 @@ class NetworkHandlerTest {
|
||||
private val peerAddress = NetworkAddress.Builder().ipv4(127, 0, 0, 1).port(6001).build()
|
||||
|
||||
private fun shutdown(ctx: BitmessageContext) {
|
||||
if (!ctx.isRunning) return
|
||||
if (!ctx.isRunning()) return
|
||||
|
||||
ctx.shutdown()
|
||||
do {
|
||||
@ -242,7 +242,7 @@ class NetworkHandlerTest {
|
||||
} catch (ignore: InterruptedException) {
|
||||
}
|
||||
|
||||
} while (ctx.isRunning)
|
||||
} while (ctx.isRunning())
|
||||
}
|
||||
|
||||
private fun shutdown(networkHandler: NetworkHandler) {
|
||||
|
Loading…
Reference in New Issue
Block a user