Skip to content

Commit

Permalink
Add example of 8 spending counters (#161)
Browse files Browse the repository at this point in the history
Fixes the example to match the fixed body showing multiple spending
counters
  • Loading branch information
minikin authored Dec 15, 2022
2 parents 992e404 + 124c015 commit 3ec80d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions book/src/core-ledger-doc/api/v0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ paths:
minimum: 0
required:
- value
- counter
- counters
examples:
with_delegation:
value:
{
'counter': 1,
'counters': [1,73,0,123,9999,0,0,987654],
'delegation':
{
'pools':
Expand All @@ -125,7 +125,7 @@ paths:
without_delegation:
value:
{
'counter': 0,
'counters': [1,73,0,123,9999,0,0,987654],
'delegation': { 'pools': [] },
'last_rewards': { 'epoch': 0, 'reward': 0 },
'value': 1000,
Expand Down

0 comments on commit 3ec80d6

Please sign in to comment.