Skip to content

Commit 3ec80d6

Browse files
authored
Add example of 8 spending counters (#161)
Fixes the example to match the fixed body showing multiple spending counters
2 parents 992e404 + 124c015 commit 3ec80d6

File tree

1 file changed

+3
-3
lines changed
  • book/src/core-ledger-doc/api

1 file changed

+3
-3
lines changed

book/src/core-ledger-doc/api/v0.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ paths:
102102
minimum: 0
103103
required:
104104
- value
105-
- counter
105+
- counters
106106
examples:
107107
with_delegation:
108108
value:
109109
{
110-
'counter': 1,
110+
'counters': [1,73,0,123,9999,0,0,987654],
111111
'delegation':
112112
{
113113
'pools':
@@ -125,7 +125,7 @@ paths:
125125
without_delegation:
126126
value:
127127
{
128-
'counter': 0,
128+
'counters': [1,73,0,123,9999,0,0,987654],
129129
'delegation': { 'pools': [] },
130130
'last_rewards': { 'epoch': 0, 'reward': 0 },
131131
'value': 1000,

0 commit comments

Comments
 (0)