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

problem: SignTx dialog renders wrong tx value #639

Merged
merged 2 commits into from
Jun 13, 2018

Conversation

gagarin55
Copy link
Contributor

No description provided.

@ghost ghost assigned gagarin55 Jun 12, 2018
@ghost ghost added the review label Jun 12, 2018
@codecov
Copy link

codecov bot commented Jun 12, 2018

Codecov Report

Merging #639 into master will increase coverage by 0.43%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #639      +/-   ##
==========================================
+ Coverage   27.42%   27.85%   +0.43%     
==========================================
  Files         158      158              
  Lines        3001     2990      -11     
  Branches      405      405              
==========================================
+ Hits          823      833      +10     
+ Misses       1956     1936      -20     
+ Partials      222      221       -1
Impacted Files Coverage Δ
src/components/tx/SendTx/CreateTx/create.js 18% <ø> (ø) ⬆️
src/components/tx/SendTx/SignTx/SignTx.js 83.33% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e9c166...8393dde. Read the comment docs.

const { value, fiatRate, fiatCurrency, fee, tx } = props;
const { onCancel, handleSubmit } = props;
export const SignTx = ((props) => {
const { fiatRate, fiatCurrency, fee, tx, nativeTx } = props;
Copy link
Contributor

Choose a reason for hiding this comment

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

dont need nativeTx here

};

describe('SignTx', () => {
it('should render tx value correctly', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 nice work

@BelfordZ
Copy link
Contributor

LGTM after removing the unused var.

Speaking of which -- Why did this not produce a linting error?

@ghost ghost assigned BelfordZ Jun 13, 2018
@BelfordZ BelfordZ merged commit fb923be into emeraldpay:master Jun 13, 2018
@ghost ghost removed the review label Jun 13, 2018
@gagarin55 gagarin55 deleted the fix-signtxform branch February 12, 2019 13:13
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.

3 participants