-
Notifications
You must be signed in to change notification settings - Fork 2
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
Compare balances using base units #37
Conversation
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.
LGTM.
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.
LGTM. Just a small suggestion to make the test a bit more clear.
expect(federationAddressBalanceAfterPegin).to.be.equal(Number(federationAddressBalanceInitial + minimumPeginValueInBtc)); | ||
const federationAddressBalanceInBtcAfterPegin = Number(await btcTxHelper.getAddressBalance(federationAddress)); | ||
const federationAddressBalanceInSatoshisAfterPegin = Number(btcEthUnitConverter.btcToSatoshis(federationAddressBalanceInBtcAfterPegin)); | ||
expect(federationAddressBalanceInSatoshisAfterPegin).to.be.equal(Number(federationAddressBalanceInSatoshisInitial + minimumPeginValueInSatoshis)); |
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.
expect(federationAddressBalanceInSatoshisAfterPegin).to.be.equal(Number(federationAddressBalanceInSatoshisInitial + minimumPeginValueInSatoshis)); | |
const expectedBalanceAfterPegin = Number(federationAddressBalanceInSatoshisInitial + minimumPeginValueInSatoshis); | |
expect(federationAddressBalanceInSatoshisAfterPegin).to.be.equal(expectedBalanceAfterPegin); |
pipeline:run |
1 similar comment
pipeline:run |
60b85c7
a5ba1f5
to
7a5b086
Compare
7a5b086
to
7ad1f25
Compare
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.
LGTM.
Quality Gate passedIssues Measures |
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.
LGTM
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.
LGTM.
No description provided.