anchor.diff:  
   sc_ws_leave(Config) ->
       {sc_ws_open, ConfigList} = ?config(saved_config, Config),
  -    #{initiator := #{pub_key  := IPubkey,
  -                     priv_key := IPrivkey},
  -      responder := #{pub_key  := RPubkey,
  -                     priv_key := RPrivkey}} = proplists:get_value(participants,
  -                                                                  ConfigList),
  +
       #{initiator := IConnPid,
         responder := RConnPid} = proplists:get_value(channel_clients, ConfigList),
       ok = ?WS:register_test_for_channel_events(IConnPid, [leave, info]),
  
positive.code:     ws_mine_key_block(ConnPid, ?NODE, 1),
  
      %% Fetch the pubkey via HTTP
      {ok, 200, #{ <<"pub_key">> := PK }} = get_node_pubkey(),
  
      %% Post spend tx
      {ok, 200, #{<<"tx">> := Tx}} =
  
negative.code: 
  mine_key_block(HeaderBin, Target, Nonce, Attempts) when Attempts > 0 ->
      case rpc(aec_mining, mine, [HeaderBin, Target, Nonce]) of
          {ok, {Nonce, _PowEvidence}} = Res ->
              Res;
          {error, no_solution} ->
              mine_key_block(HeaderBin, Target, aec_pow:next_nonce(Nonce), Attempts - 1)
  