Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use patch.object instead of patch for mocking PoW.
For some reason, pypy (and cpython on GitHub) cannot seem to correctly patch the london hardfork using the `patch` function. I've switched to using the `patch.object` function since you can explicitly provide the object, bypassing the import error. I'm not 100% sure this is correct.
- Loading branch information