File tree Expand file tree Collapse file tree
src/test/java/co/rsk/federate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3650,6 +3650,8 @@ void updateBridgeBtcCoinbaseTransactions_afterReorg_shouldNotSendObsoleteBlockHa
36503650 setUpTx (activeFedClient , segwitPeginBtcTx , blockWithSegwitPeginIndex );
36513651 Block blockWithPeginBeforeReorg = blocks [blockWithSegwitPeginIndex ].getHeader ();
36523652 Sha256Hash blockWithPeginBeforeReorgHash = blockWithPeginBeforeReorg .getHash ();
3653+ CoinbaseInformation coinbaseInformationBeforeReorg = getCoinbaseInformation (blockWithPeginBeforeReorgHash );
3654+
36533655 activeFedClient .updateBridgeBtcBlockchain ();
36543656 updateBridgeBestChainHeight ();
36553657 activeFedClient .updateBridgeBtcCoinbaseTransactions ();
@@ -3682,7 +3684,6 @@ void updateBridgeBtcCoinbaseTransactions_afterReorg_shouldNotSendObsoleteBlockHa
36823684 // assert
36833685 // obsolete info should not be present in the map any more and tx shouldn't be sent
36843686 assertBlockWithTxHashIsNotInCoinbaseInformationMap (MAINNET_PARAMS , btcToRskActiveFedClientFileStorage , blockWithPeginBeforeReorg );
3685- CoinbaseInformation coinbaseInformationBeforeReorg = getCoinbaseInformation (blockWithPeginBeforeReorgHash );
36863687 assertCoinbaseTxNotSentToBridge (coinbaseInformationBeforeReorg );
36873688
36883689 // correct info should be present in the map and tx should be sent
You can’t perform that action at this time.
0 commit comments