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

PWN-945 - History and Send fixes #2196

Merged
merged 3 commits into from
Feb 14, 2024
Merged

Conversation

gslevinkov
Copy link
Contributor

No description provided.


fun getFormattedAbsTotal(): String {
return "${amount.total.abs().scaleLong().toPlainString()} $tokenSymbol"
return amount.total.abs().formatTokenWithSymbol(tokenSymbol, tokenDecimals)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

so strange that we didn't use decimals in history at all

val sourceAddress: String,
val destinationAddress: String,
val tokenAAddress: String,
val tokenBAddress: String,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry, i renamed it because it was hard to understand which is which

Copy link

github-actions bot commented Feb 14, 2024

Code coverage report

File Coverage [34.60%] Min. Covered
HistoryAnalytics.kt 0.00% 💩
RpcHistoryTransactionConverter.kt 0.00% 💩
RpcHistoryTransaction.kt 0.00% 💩
HistoryTransactionDetailsPresenter.kt 0.00% 💩
WalletStrigaHandler.kt 0.00% 💩
JupiterSwapPresenter.kt 18.22% 💩
HistoryItemMapper.kt 0.00% 💩
FeeRelayerState.kt 0.00% 💩
NewSendPresenter.kt 0.00% 💩
StrigaWithdrawInteractor.kt 0.00% 💩
ReceiveViaLinkPresenter.kt 0.00% 💩
AmountExtensions.kt 0.00% 💩
Total Project Coverage 4.68% 💩

@gslevinkov gslevinkov merged commit 27a2c3a into develop Feb 14, 2024
3 of 4 checks passed
@gslevinkov gslevinkov deleted the feature/PWN-945-history-fix branch February 14, 2024 12:00
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