mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-23 14:40:34 +01:00
Upgrade new unit tests to bitcoin 0.18.1 API (#1157)
We had 2 open PRs, one that added new tests using the 0.API, one that switched to 0.18.1, when they were merged the new tests failed since they had not been upgraded....
This commit is contained in:
parent
37cc5262b0
commit
c968d063f6
1 changed files with 2 additions and 4 deletions
|
@ -342,8 +342,7 @@ class ElectrumWalletSpec extends TestKit(ActorSystem("test")) with FunSuiteLike
|
|||
probe.send(wallet, BroadcastTransaction(tx))
|
||||
val BroadcastTransactionResponse(`tx`, None) = probe.expectMsgType[BroadcastTransactionResponse]
|
||||
|
||||
probe.send(bitcoincli, BitcoinReq("generate", 1))
|
||||
probe.expectMsgType[JValue]
|
||||
generateBlocks(bitcoincli, 1)
|
||||
|
||||
awaitCond({
|
||||
probe.send(wallet, GetData)
|
||||
|
@ -360,8 +359,7 @@ class ElectrumWalletSpec extends TestKit(ActorSystem("test")) with FunSuiteLike
|
|||
probe.send(wallet, BroadcastTransaction(tx1))
|
||||
val BroadcastTransactionResponse(`tx1`, None) = probe.expectMsgType[BroadcastTransactionResponse]
|
||||
|
||||
probe.send(bitcoincli, BitcoinReq("generate", 1))
|
||||
probe.expectMsgType[JValue]
|
||||
generateBlocks(bitcoincli, 1)
|
||||
|
||||
awaitCond({
|
||||
probe.send(wallet, GetData)
|
||||
|
|
Loading…
Add table
Reference in a new issue