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

Update contract.js #1029

Closed
wants to merge 2 commits into from
Closed

Conversation

MarcoGuarducci
Copy link

Sometimes blockHash is null the second time. You have to wait for the third event

ometimes blockHash is null the second time. You have to wait for the third event
@@ -117,8 +117,9 @@ var checkForContractAddress = function(contract, callback){
} else {

contract._eth.getTransactionReceipt(contract.transactionHash, function(e, receipt){
if(receipt && !callbackFired) {
if(receipt && receipt.blockHash && !callbackFired) { // sometimes blockHash is null the second time - Marco Guarducci <mark.guarducci@gmail.com>
Copy link
Contributor

Choose a reason for hiding this comment

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

There's no particular reason you would add this comment. It's already in git and it doesn't clarify anything particularly.

Copy link
Contributor

Choose a reason for hiding this comment

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

yes please remove that comment and we can merge that in. web3.js should not be a self advertisement platform ;P

Copy link
Author

Choose a reason for hiding this comment

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

i have removed comment

@frozeman
Copy link
Contributor

@gigirobot

@frozeman frozeman added the In Progress Currently being worked on label Sep 15, 2017
@frozeman frozeman added the 0.x.x label Oct 10, 2017
@frozeman
Copy link
Contributor

@MarcoGuarducci please remove the comment, so i can merge.

@MarcoGuarducci
Copy link
Author

Sorry for delay. I have removed comment.

@coveralls
Copy link

coveralls commented Nov 10, 2017

Coverage Status

Coverage increased (+0.06%) to 90.557% when pulling f635d32 on MarcoGuarducci:patch-1 into c3e6c38 on ethereum:master.

@MarcoGuarducci MarcoGuarducci deleted the patch-1 branch November 10, 2017 17:26
@MarcoGuarducci MarcoGuarducci restored the patch-1 branch November 10, 2017 17:26
@MarcoGuarducci MarcoGuarducci deleted the patch-1 branch November 10, 2017 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.x.x In Progress Currently being worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants