Skip to content

Commit f942994

Browse files
author
Emil Lai
committed
little endian specification on updateOperator endpoint
1 parent e912510 commit f942994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/CIS/cis-2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Parameter
248248
The parameter contains a list of operator updates. An operator update includes information on whether to add or remove an operator and the address to add/remove as operator.
249249
It does not contain the address which is adding/removing the operator as this will be the sender of the message invoking this function.
250250

251-
The parameter is serialized as: first 2 bytes (``n``) for the number of updates followed by this number of operator updates (``updates``).
251+
The parameter is serialized as: first 2 bytes (little endian) (``n``) for the number of updates followed by this number of operator updates (``updates``).
252252
An operator update is serialized as: 1 byte (``update``) indicating whether to remove or add an operator, where if the byte value is 0 the sender is removing an operator, if the byte value is 1 the sender is adding an operator.
253253
The update is followed by the operator address (``operator``) :ref:`CIS-2-Address` to add or remove as operator for the sender::
254254

0 commit comments

Comments
 (0)