mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-18 21:34:39 +01:00
Generate blocks in two rpc calls (#5011)
* Generate blocks in two rpc calls * Empty commit to re-run CI * Empty commit to re-run CI
This commit is contained in:
parent
875a67a73c
commit
df5472f263
@ -268,7 +268,13 @@ class NeutrinoNodeTest extends NodeTestWithCachedBitcoindPair {
|
||||
for {
|
||||
_ <- NodeUnitTest.syncNeutrinoNode(node, bitcoind)
|
||||
_ <- AkkaUtil.nonBlockingSleep(3.seconds)
|
||||
_ <- bitcoind.generateToAddress(2, junkAddress)
|
||||
//have to generate the block headers independent of one another
|
||||
//rather than just calling generateToAddress(2,junkAddress)
|
||||
//because of this bitcoin core bug: https://github.com/bitcoin-s/bitcoin-s/issues/1098
|
||||
//hopefully they fix it some day...
|
||||
_ <- bitcoind.generateToAddress(1, junkAddress)
|
||||
_ <- AsyncUtil.nonBlockingSleep(500.millis)
|
||||
_ <- bitcoind.generateToAddress(1, junkAddress)
|
||||
_ <- NodeTestUtil.awaitAllSync(node, bitcoind)
|
||||
} yield {
|
||||
succeed
|
||||
|
Loading…
Reference in New Issue
Block a user