diff --git a/eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreClientSpec.scala b/eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreClientSpec.scala index 92569e4541..6d0312782c 100644 --- a/eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreClientSpec.scala +++ b/eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreClientSpec.scala @@ -1408,7 +1408,7 @@ class BitcoinCoreClientWithEclairSignerSpec extends BitcoinCoreClientSpec { override def useEclairSigner = true private def createWallet(seed: ByteVector): (BitcoinCoreClient, LocalOnChainKeyManager) = { - val name = s"eclair_${seed.toString()}" + val name = s"eclair_${seed.toHex.take(16)}" val onChainKeyManager = new LocalOnChainKeyManager(name, seed, TimestampSecond.now(), Block.RegtestGenesisBlock.hash) val jsonRpcClient = new BasicBitcoinJsonRPCClient(rpcAuthMethod = bitcoinrpcauthmethod, host = "localhost", port = bitcoindRpcPort, wallet = Some(name)) (new BitcoinCoreClient(jsonRpcClient, Some(onChainKeyManager)), onChainKeyManager)