fix: remove unneeded backwards compatible epoch-credits value
This commit is contained in:
parent
b804455837
commit
4428b1bf3d
|
@ -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?',
|
||||||
|
|
Loading…
Reference in New Issue