Skip to content

Commit

Permalink
feat(whale-api): whitelist vmmap (#2144)
Browse files Browse the repository at this point in the history
<!--  Thanks for sending a pull request! -->

#### What this PR does / why we need it:
as titled, to whitelist
[vmmap](https://github.com/DeFiCh/ain/blob/28044c68a0c8e012be4976350975eabaf6172dad/src/masternodes/rpc_evm.cpp#L167)

#### Which issue(s) does this PR fixes?:
<!--
(Optional) Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

#### Additional comments?:

Co-authored-by: Lyka Labrada <[email protected]>
  • Loading branch information
pierregee and lykalabrada committed Aug 31, 2023
1 parent 5e13521 commit 2f4da37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/whale-api/src/module.api/rpc.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export class MethodWhitelist implements PipeTransform {
'getrawtransaction',
'getgovproposal',
'listgovproposals',
'listgovproposalvotes'
'listgovproposalvotes',
'vmmap'
]

transform (value: string, metadata: ArgumentMetadata): string {
Expand Down

0 comments on commit 2f4da37

Please sign in to comment.