Skip to content

fix: set r = 1, update error label#9

Merged
kcw-grunt merged 2 commits intomainfrom
fix/small-test-BRPeerManager
May 21, 2025
Merged

fix: set r = 1, update error label#9
kcw-grunt merged 2 commits intomainfrom
fix/small-test-BRPeerManager

Conversation

@kcw-grunt
Copy link
Collaborator

@kcw-grunt kcw-grunt commented May 21, 2025

Fix

When the user has the 40% stuck problem @andhikayuana added a nice filter that removes the tx from the database and this is a small fix and adjustment of the messaging

@kcw-grunt kcw-grunt requested a review from andhikayuana May 21, 2025 07:14
@kcw-grunt kcw-grunt self-assigned this May 21, 2025
@kcw-grunt kcw-grunt added the bug Something isn't working label May 21, 2025
@kcw-grunt
Copy link
Collaborator Author

When killing the app, the sync state is not preserved and we need to guarantee then sync is complete. Otherwise the displayed balance will be wrong and the user wont know

@kcw-grunt kcw-grunt changed the title fix: set r= 1 fix: set r = 1, update error label May 21, 2025
@kcw-grunt kcw-grunt marked this pull request as ready for review May 21, 2025 10:06
@kcw-grunt kcw-grunt requested a review from josikie May 21, 2025 10:07
BRTransactionFree(tx);
if (ctx->rejectedTx) ctx->rejectedTx(ctx->info, txHash, REJECT_LOWFEE);
return 1;
r = 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch, thanks @kcw-grunt

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch, thanks @kcw-grunt
Hey ! You left some crumbs for me @andhikayuana

Copy link
Contributor

@andhikayuana andhikayuana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kcw-grunt kcw-grunt merged commit 62935bd into main May 21, 2025
@kcw-grunt kcw-grunt deleted the fix/small-test-BRPeerManager branch May 21, 2025 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants