fail resolver

This commit is contained in:
AF 2022-05-19 03:25:13 +03:00
parent 058ef18c15
commit 3d3facc10a
2 changed files with 6 additions and 0 deletions

View File

View File

@ -0,0 +1,6 @@
from rainbowadn.hashing.hashresolver import HashResolver
class FailResolver(HashResolver):
def _resolve(self, point: bytes) -> bytes:
raise TypeError('fail-resolver always fails')