Skip to content

Commit

Permalink
FIX: Integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmihaic committed Oct 8, 2024
1 parent c51e07c commit 93a9890
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2523,6 +2523,8 @@ func checkKeysNotInMap(t *testing.T, m map[uint32][][]byte, keys []string) {

func stakeOneNode(t *testing.T, cs chainSimulatorIntegrationTests.ChainSimulator) {
txStake, _ := staking.CreateStakeTransaction(t, cs)
require.Nil(t, cs.GenerateBlocks(1))

stakeTx, err := cs.SendTxAndGenerateBlockTilTxIsExecuted(txStake, staking.MaxNumOfBlockToGenerateWhenExecutingTx)
require.Nil(t, err)
require.NotNil(t, stakeTx)
Expand Down

0 comments on commit 93a9890

Please sign in to comment.