Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Move decoding for contract deployment logic earlier #3714

Merged
merged 2 commits into from
Dec 5, 2016
Merged

Conversation

jacogr
Copy link
Contributor

@jacogr jacogr commented Dec 5, 2016

Fixes the case where a contract is to be deployed and the signer shows the actual input data instead of the contract deployment state

parity 2016-12-05 12-22-54

@jacogr jacogr added A0-pleasereview 🤓 Pull request needs code review. M7-ui labels Dec 5, 2016
this.setState({ methodSignature: signature, methodParams: paramdata });

if (!signature || signature === CONTRACT_CREATE || transaction.creates) {
this.setState({ icContract: true, isDeploy: true });
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks a lot like this should be isContract 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeap, and actually not needed. Removed.

@ngotchac ngotchac added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Dec 5, 2016
@ngotchac ngotchac merged commit 873f451 into master Dec 5, 2016
@ngotchac ngotchac deleted the jg-fix-deploy branch December 5, 2016 17:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants