diff --git a/common/src/test/scala/CryptoInterfaceTest.scala b/common/src/test/scala/CryptoInterfaceTest.scala index 7b75ea05..2bca544a 100644 --- a/common/src/test/scala/CryptoInterfaceTest.scala +++ b/common/src/test/scala/CryptoInterfaceTest.scala @@ -109,14 +109,12 @@ class CryptoInterfaceTest extends Specification { args(stopOnFail = true) "safely handle multiple starts" in { val dontCare = ByteVector.fill(16)(0x42) - var dh = new CryptoDHState() + val dh = new CryptoDHState() dh.start() dh.start() must throwA[IllegalStateException] dh.close - dh = new CryptoDHState() - ok }