We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5aec61 commit c1e83cdCopy full SHA for c1e83cd
1 file changed
bitcoin/base58.py
@@ -77,6 +77,9 @@ def __new__(cls, data, nVersion):
77
self.nVersion = nVersion
78
return self
79
80
+ def __repr__(self):
81
+ return '%s(%s, %d)' % (self.__class__.__name__, bytes.__repr__(self), self.nVersion)
82
+
83
def __str__(self):
84
vs = chr(self.nVersion) + self
85
check = ser_uint256(Hash(vs))[0:4]
0 commit comments