anchor.diff:              undefined -> 0;
               Header -> aec_headers:height(Header)
           end,
  -    mine_blocks(dev1, 4, Debug),
  -    check_info(),
  -    aecore_suite_utils:wait_for_height(aecore_suite_utils:node_name(dev1), CurrentHeight + 4),
  +    SignedTx = await_on_chain_report(I2, ?TIMEOUT),
  +    SignedTx = await_on_chain_report(R2, ?TIMEOUT), % same tx
  +    wait_for_signed_transaction_in_block(dev1, SignedTx),
  +    mine_blocks(dev1, MinimumDepth, Debug),
  +    check_info(),
  +    aecore_suite_utils:wait_for_height(aecore_suite_utils:node_name(dev1),
  +                                       CurrentHeight + MinimumDepth),
       I3 = await_open_report(I2, ?TIMEOUT, Debug),
       R3 = await_open_report(R2, ?TIMEOUT, Debug),
       #{i => I3, r => R3, spec => Spec}.
  
positive.code:     check_info(),
      {I1, _} = await_signing_request(withdraw_tx, I),
      {_R1, _} = await_signing_request(withdraw_created, R),
      mine_blocks(dev1, 4),
      #{initiator_amount := IAmt2, responder_amount := RAmt2} = I1,
      Expected = {IAmt2, RAmt2},
  
negative.code:     check_info(),
      {I1, _} = await_signing_request(deposit_tx, I),
      {_R1, _} = await_signing_request(deposit_created, R),
      %SignedTx = await_on_chain_report(I1, ?TIMEOUT),
      %SignedTx = await_on_chain_report(R, ?TIMEOUT), % same tx
      %wait_for_signed_transaction_in_block(dev1, SignedTx),
      mine_blocks(dev1, 4),
      ct:log("I2 = ~p", [I1]),
      #{initiator_amount := IAmt2, responder_amount := RAmt2} = I1,
  