Skip to content

Conversation

kukkok3
Copy link
Collaborator

@kukkok3 kukkok3 commented Jul 15, 2022

Fixing validate_ledger_test. We initialized alice balance with amount.0 + valid_transaction_amount and valid_transaction_amount is equal to total_fees.0 + amount.0. So looks like alice got twice the amount we are expected in test. Fixed sending all the initial alice balance in the first transaction, leaving alice with 0 balance, and therefore making the second trasaction fail

Copy link
Contributor

@Mr-Leshiy Mr-Leshiy left a comment

Choose a reason for hiding this comment

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

LGTM

@kukkok3 kukkok3 merged commit 135e49a into master Jul 18, 2022
@kukkok3 kukkok3 deleted the npg-2288-repro-validate-ledger-test-failure branch July 18, 2022 11:55
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