Fix method signature mismatch in subclass

This commit is contained in:
Michał Sałaban 2018-01-11 03:12:08 +01:00
parent 0be3652c29
commit 4be870c50b
2 changed files with 3 additions and 1 deletions

View file

@ -63,7 +63,7 @@ class Address(object):
class SubAddress(Address):
_valid_netbytes = (42, 63)
def with_payment_id(self):
def with_payment_id(self, _):
raise TypeError("SubAddress cannot be integrated with payment ID")