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

Remove redundant invoke command from test network #142

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

nikhil550
Copy link
Contributor

With the new Fabric contract class, you can initialize the chaincode by invoking any function, and the init will be invoked under the covers. As a result, the Init and then Invoke flow of the deployCC script is out of date, and the second invoke can be removed.

Thanks @woodyjon and @mbwhite for bringing this to my attention.

Signed-off-by: NIKHIL E GUPTA negupta@us.ibm.com

Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
Copy link
Contributor

@lehors lehors left a comment

Choose a reason for hiding this comment

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

Nice. It works!

@lehors lehors merged commit b155620 into hyperledger:master Mar 30, 2020
@nikhil550 nikhil550 deleted the rmExtraInvoke branch March 30, 2020 20:18
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