diff --git a/lightapi/python/symbollightapi/model/Transaction.py b/lightapi/python/symbollightapi/model/Transaction.py index 70dc50b83..aef370cab 100644 --- a/lightapi/python/symbollightapi/model/Transaction.py +++ b/lightapi/python/symbollightapi/model/Transaction.py @@ -413,6 +413,8 @@ def _map_transfer_args(tx_dict): message['payload'], message['type'] ) + else: + message = None mosaics = None if 'mosaics' in tx_dict: @@ -441,7 +443,7 @@ def _map_account_key_link_args(tx_dict): @staticmethod def _map_multisig_account_modification_args(tx_dict): min_cosignatories = 0 - if 'minCosignatories' in tx_dict: + if 'minCosignatories' in tx_dict and 'relativeChange' in tx_dict['minCosignatories']: min_cosignatories = tx_dict['minCosignatories']['relativeChange'] return {