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

Method.watch() lost events #10

Open
kinggozhang opened this issue Dec 18, 2020 · 1 comment
Open

Method.watch() lost events #10

kinggozhang opened this issue Dec 18, 2020 · 1 comment

Comments

@kinggozhang
Copy link

code is:

localTronweb.contract().at(minercontract).then(
		function(contract){						
			contract.Created().watch((err, event) => {
			if (err){
				return console.error('Error with "method" event:', err);
			}
			if (event) { 
				console.log(event);
			}
			});					
		},function(error){});

I tested it in shasta network, found it will lost some events emited by contract.
is it normal?

@artyomLisovskij
Copy link

artyomLisovskij commented Jun 14, 2022

same here with production

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

No branches or pull requests

2 participants