Attempt to fix BitcoindV19RpcClientTest from losing connection (#1515)

This commit is contained in:
Ben Carman 2020-06-08 14:14:14 -05:00 committed by GitHub
parent b621412f32
commit 003bda2fe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,10 +101,11 @@ class BitcoindV19RpcClientTest extends BitcoindRpcTest {
val psbt =
"cHNidP8BACoCAAAAAAFAQg8AAAAAABepFG6Rty1Vk+fUOR4v9E6R6YXDFkHwhwAAAAAAAA=="
val updatedF =
clientF.flatMap(client => client.utxoUpdatePsbt(psbt, Seq(descriptor)))
updatedF.map { result =>
for {
(client, _) <- clientPairF
result <- client.utxoUpdatePsbt(psbt, Seq(descriptor))
} yield {
assert(result.contains(psbt))
}
}