mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
REVERT ME: debug incoming dict data
This commit is contained in:
parent
f725c07f2d
commit
4c1f6112a7
|
@ -654,7 +654,9 @@ namespace llarp
|
||||||
{
|
{
|
||||||
oxenc::bt_dict_consumer btdc{m.body()};
|
oxenc::bt_dict_consumer btdc{m.body()};
|
||||||
btdc.required("local");
|
btdc.required("local");
|
||||||
remote = RemoteRC{btdc.consume_dict_consumer()};
|
auto rc_dict = btdc.consume_dict_data();
|
||||||
|
log::critical(logcat, "incoming dict data: {}", oxenc::to_hex(rc_dict));
|
||||||
|
remote = RemoteRC{oxenc::bt_dict_consumer{rc_dict}};
|
||||||
quantity = btdc.require<size_t>("quantity");
|
quantity = btdc.require<size_t>("quantity");
|
||||||
}
|
}
|
||||||
catch (const std::exception& e)
|
catch (const std::exception& e)
|
||||||
|
|
Loading…
Reference in a new issue