From 81fe2e47fb74212cc55d88c11adf724ced846e58 Mon Sep 17 00:00:00 2001 From: Eli <31790206+eli-lim@users.noreply.github.com> Date: Thu, 24 Feb 2022 23:10:04 +0800 Subject: [PATCH] feat(rpc): add listcommunitybalances to MethodWhitelist (#805) --- src/module.api/rpc.controller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/module.api/rpc.controller.ts b/src/module.api/rpc.controller.ts index c8897c7ef..34e1eae2f 100644 --- a/src/module.api/rpc.controller.ts +++ b/src/module.api/rpc.controller.ts @@ -34,7 +34,8 @@ export class MethodWhitelist implements PipeTransform { 'getblockstats', 'getburninfo', 'getgov', - 'validateaddress' + 'validateaddress', + 'listcommunitybalances' ] transform (value: string, metadata: ArgumentMetadata): string {