mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Fix json serialization of pulse sigs (#1234)
This was producing invalid json: "signatures":[,"voter_index":0,"signature":"...",,"voter_index":1,"signature":"...",, This change corrects it to: "signatures":[{"voter_index":0,"signature":"..."},{"voter_index":1,"signature":"..."},{
This commit is contained in:
parent
130e876021
commit
1ba69c9a77
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ namespace service_nodes
|
|||
std::memset(padding, 0, sizeof(padding));
|
||||
}
|
||||
|
||||
BEGIN_SERIALIZE()
|
||||
BEGIN_SERIALIZE_OBJECT()
|
||||
FIELD(voter_index)
|
||||
FIELD(signature)
|
||||
END_SERIALIZE()
|
||||
|
|
Loading…
Reference in a new issue