Beispiel #1
0
 def bdn_tx_to_bx_tx(
         self,
         raw_tx: Union[bytes, bytearray, memoryview],
         network_num: int,
         quota_type: Optional[QuotaType] = None
 ) -> TxMessage:
     return bdn_tx_to_bx_tx(raw_tx, network_num, quota_type)
 def bdn_tx_to_bx_tx(
     self,
     raw_tx: Union[bytes, bytearray, memoryview],
     network_num: int,
     transaction_flag: Optional[TransactionFlag] = None
 ) -> TxMessage:
     return bdn_tx_to_bx_tx(raw_tx, network_num, transaction_flag)
Beispiel #3
0
 def bdn_tx_to_bx_tx(
     self,
     raw_tx: Union[bytes, bytearray, memoryview],
     network_num: int,
     transaction_flag: Optional[TransactionFlag] = None,
     account_id: str = common_constants.DECODED_EMPTY_ACCOUNT_ID
 ) -> TxMessage:
     return bdn_tx_to_bx_tx(raw_tx, network_num, transaction_flag,
                            account_id)