From 23dfeb96335926fdc218f85a3ac08985a0ae625d Mon Sep 17 00:00:00 2001 From: andronache Date: Tue, 12 Jan 2021 16:40:54 +0200 Subject: [PATCH] Include the ActionS and AccountS in ping command from console --- console/ping.go | 4 ++++ utils/consts.go | 2 ++ 2 files changed, 6 insertions(+) diff --git a/console/ping.go b/console/ping.go index aacca7a51..5adfe2a55 100644 --- a/console/ping.go +++ b/console/ping.go @@ -83,6 +83,10 @@ func (self *CmdApierPing) RpcMethod() string { return utils.EeSv1Ping case utils.RateSLow: return utils.RateSv1Ping + case utils.AccountSLow: + return utils.AccountSv1Ping + case utils.ActionSLow: + return utils.ActionSv1Ping default: } return self.rpcMethod diff --git a/utils/consts.go b/utils/consts.go index 5c142bfb2..12a727087 100755 --- a/utils/consts.go +++ b/utils/consts.go @@ -1033,6 +1033,8 @@ const ( ApierSLow = "apiers" EEsLow = "ees" RateSLow = "rates" + AccountSLow = "accounts" + ActionSLow = "actions" ) // Actions