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

fix(wallet): checking args in history add #1141

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

kehiy
Copy link
Contributor

@kehiy kehiy commented Mar 2, 2024

Description

The history add sub-commands needs 1 argument which is the transaction ID. we have to make sure user provides it. otherwise we will panic, which is not a good practice.

Related issue(s)

@kehiy kehiy added bug Something isn't working Wallet labels Mar 2, 2024
@kehiy kehiy marked this pull request as ready for review March 2, 2024 11:51
Copy link

codecov bot commented Mar 2, 2024

Codecov Report

Merging #1141 (fd4b27c) into main (88658f6) will decrease coverage by 0.19%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1141      +/-   ##
==========================================
- Coverage   81.48%   81.29%   -0.19%     
==========================================
  Files         173      173              
  Lines        9224     9224              
==========================================
- Hits         7516     7499      -17     
- Misses       1353     1368      +15     
- Partials      355      357       +2     

@Ja7ad Ja7ad requested a review from b00f March 2, 2024 11:57
@b00f b00f merged commit d7c8fbe into pactus-project:main Mar 2, 2024
12 checks passed
@kehiy kehiy deleted the hotfix/cliw branch March 2, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Pactus-Daemon Wallet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pactus-wallet history add panic
2 participants