Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add
getTransactions
endpoint #136Add
getTransactions
endpoint #136Changes from 2 commits
c00ddae
2467dbe
6aa348d
7928c78
355b1e2
11baf9e
81eceff
83918f2
3d7f7d3
f509457
f813d01
0e8b9da
5156b9e
e4b34e5
35da2a5
35ed84d
fce765b
60055da
90f6b5b
36205ce
ba254f0
18dbbd1
cb3eae9
a75205c
65d2ab8
dae0624
f1a0a87
364ee92
aeb0a84
2c5b2a4
95ce052
c27d20c
6837f79
9239dff
0f098fb
5f273a7
c9ddee4
d426361
1c44f63
850f208
c45d333
be21a95
bd81a39
088dff0
74e2941
ca6c4ca
6d415dd
acaae61
af41b32
90afd1e
31c80f7
0a00590
0b19b17
f85bdfb
4442348
2d66084
f08dc00
bc6cbba
68e45d5
21da905
7e1a471
c63f8e1
a6a77b9
7509c6e
d4f9b54
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why internal now? if it's not in the DB then their request is out of bounds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment for all of the below error changes imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Shaptic Yeah you are correct. I refactored this code again to use InvalidParams for "ledger close meta not found" or for any other db related error, use the InternalError code.
However, for these 3 errors:
InternalError would make more sense dont you think? Since they are generated due to some internal parsing issues?