From c7d87005be66d8bbd303c5fac5b8fcbf020506d0 Mon Sep 17 00:00:00 2001 From: toadlyBroodle Date: Sun, 19 Mar 2023 22:09:26 +0900 Subject: [PATCH] update poll_options value to json serialized Map --- 69.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/69.md b/69.md index 9a115e03..f5616eb4 100644 --- a/69.md +++ b/69.md @@ -42,7 +42,12 @@ A poll event: "tags": [ ["e", <32-bytes hex of the id of the poll event>, ], ["p", <32-bytes hex of the key>, ], - ["poll_options", "[[0, 'poll option 0 description string'], [1, 'poll option 1 description string'], [, 'poll option description string']]"], + ["poll_options", "{ + \"0\": \"poll option 0 description string\", + \"1\": \"poll option 1 description string\", + \"n\": \"poll option description string\" + }" + ], ["value_maximum", "maximum satoshi value for inclusion in tally"], ["value_minimum", "minimum satoshi value for inclusion in tally"], ["consensus_threshold", "required percentage to attain consensus <0..100>"],