Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PVM] Removed redundant parameter from API getClaimables #59

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

knikos
Copy link
Member

@knikos knikos commented Apr 6, 2023

Why this should be merged

The API getClaimables should be callable without providing any depositTxIds. The only required parameters are those of an interface Owner where locktime and threshold are optional as the are assigned defualt values if none are provided.

How this works

Updates the API by removing the redundant field depositTxIds. Since that renders the GetClaimablesParams identical to the Owner interface, the former has been completely removed.

How this was tested

By running the corresponding example and ensuring that the API returns a valid response

@knikos knikos requested review from peak3d and c4t-ag April 6, 2023 08:41
@knikos knikos marked this pull request as ready for review April 6, 2023 08:46
@knikos knikos force-pushed the bugfix/remove-redundant-parameter-from-getClaimables branch from 5fa00e0 to 27449cd Compare April 6, 2023 11:07
@knikos knikos merged commit b9d443a into dev Apr 6, 2023
@knikos knikos deleted the bugfix/remove-redundant-parameter-from-getClaimables branch April 6, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants