fix: remove unneeded backwards compatible epoch-credits value

This commit is contained in:
Justin Starry 2019-12-12 22:46:50 -08:00 committed by Michael Vines
parent b804455837
commit 4428b1bf3d
1 changed files with 4 additions and 4 deletions

View File

@ -399,9 +399,9 @@ const GetVoteAccounts = jsonRpcResult(
nodePubkey: 'string', nodePubkey: 'string',
activatedStake: 'number', activatedStake: 'number',
epochVoteAccount: 'boolean', epochVoteAccount: 'boolean',
epochCredits: struct.union(['null', struct.list([ epochCredits: struct.list([
struct.tuple(['number', 'number', 'number']), struct.tuple(['number', 'number', 'number']),
])]), ]),
commission: 'number', commission: 'number',
lastVote: 'number', lastVote: 'number',
rootSlot: 'number?', rootSlot: 'number?',
@ -413,9 +413,9 @@ const GetVoteAccounts = jsonRpcResult(
nodePubkey: 'string', nodePubkey: 'string',
activatedStake: 'number', activatedStake: 'number',
epochVoteAccount: 'boolean', epochVoteAccount: 'boolean',
epochCredits: struct.union(['null', struct.list([ epochCredits: struct.list([
struct.tuple(['number', 'number', 'number']), struct.tuple(['number', 'number', 'number']),
])]), ]),
commission: 'number', commission: 'number',
lastVote: 'number', lastVote: 'number',
rootSlot: 'number?', rootSlot: 'number?',