Skip to content

Commit

Permalink
[lightapi/python] build: update python sdk 3.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLaw committed Jul 31, 2023
1 parent 7ef69c2 commit 6bf98b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lightapi/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
aiohttp==3.8.5
symbol-sdk-python==3.0.7
symbol-sdk-python==3.0.11
zenlog==1.1
2 changes: 1 addition & 1 deletion lightapi/python/symbollightapi/connector/NemConnector.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def _map_to_transaction(transaction, block_height):

specific_args = {}

if TransactionType.MULTISIG_TRANSACTION.value == tx_type:
if TransactionType.MULTISIG.value == tx_type:
specific_args = TransactionHandler().map[tx_type](tx_dict, transaction['innerHash'])
else:
specific_args = TransactionHandler().map[tx_type](tx_dict)
Expand Down
8 changes: 4 additions & 4 deletions lightapi/python/symbollightapi/model/Transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def __init__(
timestamp,
deadline,
signature,
TransactionType.MULTISIG_TRANSACTION.value
TransactionType.MULTISIG.value
)

self.signatures = signatures
Expand Down Expand Up @@ -398,7 +398,7 @@ def __init__(self):
TransactionType.TRANSFER.value: self._map_transfer_args,
TransactionType.ACCOUNT_KEY_LINK.value: self._map_account_key_link_args,
TransactionType.MULTISIG_ACCOUNT_MODIFICATION.value: self._map_multisig_account_modification_args,
TransactionType.MULTISIG_TRANSACTION.value: self._map_multisig_transaction_args,
TransactionType.MULTISIG.value: self._map_multisig_args,
TransactionType.NAMESPACE_REGISTRATION.value: self._map_namespace_registration_args,
TransactionType.MOSAIC_DEFINITION.value: self._map_mosaic_definition_args,
TransactionType.MOSAIC_SUPPLY_CHANGE.value: self._map_mosaic_supply_change_args,
Expand Down Expand Up @@ -454,7 +454,7 @@ def _map_multisig_account_modification_args(tx_dict):
]
}

def _map_multisig_transaction_args(self, tx_dict, inner_hash):
def _map_multisig_args(self, tx_dict, inner_hash):

other_transaction = tx_dict['otherTrans']

Expand Down Expand Up @@ -550,7 +550,7 @@ def create_transaction(tx_type, common_args, specific_args):
TransactionType.TRANSFER.value: TransferTransaction,
TransactionType.ACCOUNT_KEY_LINK.value: AccountKeyLinkTransaction,
TransactionType.MULTISIG_ACCOUNT_MODIFICATION.value: MultisigAccountModificationTransaction,
TransactionType.MULTISIG_TRANSACTION.value: MultisigTransaction,
TransactionType.MULTISIG.value: MultisigTransaction,
TransactionType.NAMESPACE_REGISTRATION.value: NamespaceRegistrationTransaction,
TransactionType.MOSAIC_DEFINITION.value: MosaicDefinitionTransaction,
TransactionType.MOSAIC_SUPPLY_CHANGE.value: MosaicSupplyChangeTransaction,
Expand Down

0 comments on commit 6bf98b4

Please sign in to comment.