Closed rdig closed 3 years ago
This PR fixes the await on null issues we were seeing using Infura's provider.
await on null
This was done by intercepting the response and in case it's null, just return undefined since poll() will retry on an undefined response.
null
undefined
poll()
This PR fixes the
await on null
issues we were seeing using Infura's provider.This was done by intercepting the response and in case it's
null
, just returnundefined
sincepoll()
will retry on an undefined response.