diff --git a/bitsharesbase/operations.py b/bitsharesbase/operations.py index 5317ef1..b437748 100644 --- a/bitsharesbase/operations.py +++ b/bitsharesbase/operations.py @@ -675,6 +675,7 @@ def __init__(self, *args, **kwargs): if isArgsThisClass(self, args): self.data = args[0].data else: + prefix = kwargs.get("prefix", default_prefix) if len(args) == 1 and len(kwargs) == 0: kwargs = args[0] if "new_url" in kwargs and kwargs["new_url"]: @@ -682,7 +683,6 @@ def __init__(self, *args, **kwargs): else: new_url = Optional(None) - prefix = kwargs.get("prefix", default_prefix) if "new_signing_key" in kwargs and kwargs["new_signing_key"]: new_signing_key = Optional( PublicKey(kwargs["new_signing_key"], prefix=prefix)