From 3d974412b38c834efc9b62dfd9e763a8ec7abbf9 Mon Sep 17 00:00:00 2001 From: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> Date: Tue, 1 Mar 2022 22:40:04 +0800 Subject: [PATCH] chore(MethodWhitelist): add getaccounthistory (#813) --- .idea/dictionaries/fuxing.xml | 3 +++ src/module.api/rpc.controller.ts | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.idea/dictionaries/fuxing.xml b/.idea/dictionaries/fuxing.xml index 67d17dd05..b831359a1 100644 --- a/.idea/dictionaries/fuxing.xml +++ b/.idea/dictionaries/fuxing.xml @@ -51,6 +51,7 @@ fullstackninja fuxingloh generatetoaddress + getaccounthistory getaddressinfo getbalance getblock @@ -98,6 +99,7 @@ listaccounthistory listaccounts listaddressgroupings + listcommunitybalances listpoolpairs listpoolshares listtokens @@ -185,6 +187,7 @@ utxo utxos utxostoaccount + validateaddress varint verif verificationprogress diff --git a/src/module.api/rpc.controller.ts b/src/module.api/rpc.controller.ts index 34e1eae2f..607228fc5 100644 --- a/src/module.api/rpc.controller.ts +++ b/src/module.api/rpc.controller.ts @@ -35,7 +35,8 @@ export class MethodWhitelist implements PipeTransform { 'getburninfo', 'getgov', 'validateaddress', - 'listcommunitybalances' + 'listcommunitybalances', + 'getaccounthistory' ] transform (value: string, metadata: ArgumentMetadata): string {