TRON-US / trongrid

The infrastructure for Tron developers
11 stars 9 forks source link

Method.watch() lost events #10

Open kinggozhang opened 3 years ago

kinggozhang commented 3 years ago

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 commented 2 years ago

same here with production