Add msgpack ids to new fields

This commit is contained in:
Lee Clagett 2024-02-24 20:58:26 -05:00 committed by Lee *!* Clagett
parent fadbb69fba
commit 4eb170a0c4

View file

@ -66,9 +66,9 @@ namespace
};
wire::object(dest,
WIRE_FIELD(height),
WIRE_FIELD(id),
wire::field("addresses", wire::array(self.users | boost::adaptors::transformed(just_address)))
WIRE_FIELD_ID(0, height),
WIRE_FIELD_ID(1, id),
wire::field<2>("addresses", wire::array(self.users | boost::adaptors::transformed(just_address)))
);
}
} // anonymous