anchor.diff:      BothSigned = aec_test_utils:sign_tx(CreateTx, [InSecKey, RespSecKey]),
       Transaction = aehttp_api_encoder:encode(transaction, aetx_sign:serialize_to_binary(BothSigned)),
       Response = verify(200, request(Node, 'PostTransaction', #{tx => Transaction})),
  -    Response#{channel_id => aec_id:create(channel, aesc_channels:pubkey(InPubKey, Nonce, RespPubKey))}.
  +    ChPubKey = aesc_channels:pubkey(InPubKey, Nonce, RespPubKey),
  +    Response#{
  +        channel_pubkey => ChPubKey,
  +        channel_id => aec_id:create(channel, ChPubKey)
  +    }.
   
   post_close_mutual_state_channel_tx(Node, Initiator, Responder, ChannelId, #{nonce := _} = Map) ->
       #{ pubkey := InPubKey, privkey := InSecKey } = Initiator,
  
positive.code:                      _ -> wait
                  end
          end,
      loop_for_values(CheckF, NodeNames, [], 500, Timeout);
  wait_for_value({height, MinHeight}, NodeNames, Timeout, Ctx) ->
      FaultInject = proplists:get_value(fault_inject, Ctx, #{}),
      CheckF =
          fun(Node) ->
                  case request(Node, 'GetKeyBlockByHeight', maps:merge(#{height => MinHeight}, FaultInject)) of
  
negative.code:                     _ -> wait
                  end
          end,
      loop_for_values(CheckF, NodeNames, [], Delay, Timeout, {"Height ~p on nodes ~p", [MinHeight, NodeNames]});
  wait_for_value({txs_on_chain, Txs}, NodeNames, Timeout, Ctx) ->
      %% Not very optimal, since found Txs' are searched for in next round.
      FaultInject = proplists:get_value(fault_inject, Ctx, #{}),
      KeyBlocksWaiting = proplists:get_value(key_blocks, Ctx, 2),
      Delay = proplists:get_value(delay, Ctx, 500),
      CheckF =
          fun(Node) ->
                  Found =
  