From dbc6b422674fe97f4f4b3be827897e71f136312c Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 12 Dec 2016 23:14:44 +0100 Subject: [PATCH] Lint fixes --- js/src/jsonrpc/interfaces/parity.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/js/src/jsonrpc/interfaces/parity.js b/js/src/jsonrpc/interfaces/parity.js index 57fa791a8..3f36a93b3 100644 --- a/js/src/jsonrpc/interfaces/parity.js +++ b/js/src/jsonrpc/interfaces/parity.js @@ -103,10 +103,10 @@ export default { consensusCapability: { desc: 'Returns an object or string detailing the state of parity capability of maintaining consensus', params: [], - returns: [ + returns: { type: Object, desc: 'Either "capable", {"capableUntil":N}, {"incapableSince":N} or "unknown" (N is a block number)' - ] + } }, dappsPort: { @@ -175,10 +175,10 @@ export default { executeUpgrade: { desc: 'Performs an upgrade', params: [], - returns: [ + returns: { type: Boolean, desc: 'returns true if the upgrade to the release specified in parity_upgradeReady was successfully executed, false if not' - ] + } }, extraData: { @@ -487,12 +487,12 @@ export default { }, releasesInfo: { - desc: 'returns a ReleasesInfo object describing the current status of releases' + desc: 'returns a ReleasesInfo object describing the current status of releases', params: [], - returns: [ + returns: { type: Object, desc: '"fork":N,"minor":null,"this_fork":MN,"track":R} (N is a block number representing the latest known fork of this chain which may be in the future, MN is a block number representing the latest known fork that the currently running binary can sync past or null if not known, R is a ReleaseInfo object describing the latest release in this release track)' - ] + } }, removeReservedPeer: {