This commit is contained in:
2025-08-31 14:48:10 -04:00
parent b1b0338bc7
commit fd7e849158
2 changed files with 51 additions and 30 deletions

13
will.py
View File

@@ -15,8 +15,8 @@ MIN_LOCKTIME = 1
MIN_BLOCK = 1
_logger = get_logger(__name__)
#return an array with the list of children
class Will:
#return an array with the list of children
def get_children(will,willid):
out = []
for _id in will:
@@ -744,10 +744,11 @@ class WillItem(Logger):
else:
return "#ffffff"
class WillExpiredException(Exception):
class WillException(Exception):
pass
class NotCompleteWillException(Exception):
class WillExpiredException(WillException):
pass
class NotCompleteWillException(WillException):
pass
class HeirChangeException(NotCompleteWillException):
pass
@@ -761,9 +762,9 @@ class NoWillExecutorNotPresent(NotCompleteWillException):
pass
class WillExecutorNotPresent(NotCompleteWillException):
pass
class NoHeirsException(Exception):
class NoHeirsException(WillException):
pass
class AmountException(Exception):
class AmountException(WillException):
pass
class PercAmountException(AmountException):
pass