mobius-network / mobius-client-python

Mobius DApp SDK for Python
MIT License
1 stars 2 forks source link

Memo Bug #1

Open Veskor opened 6 years ago

Veskor commented 6 years ago

Issue with TextMemo() , currently using NoneMemo() for challenge , bytes/unicode problem

Veskor commented 6 years ago

teardown.py", line 63, in address=dev_keypair.address().decode())\ File "/home/veljko/Documents/PythonSDK/mobius_client_python/auth/sign.py", line 16, in call te = TransactionEnvelope.from_xdr(xdr=self.xdr) File "/home/veljko/Documents/PythonSDK/env/lib/python3.5/site-packages/stellar_base/transaction_envelope.py", line 72, in from_xdr tx = Transaction.from_xdr_object(tx_xdr_object) File "/home/veljko/Documents/PythonSDK/env/lib/python3.5/site-packages/stellar_base/transaction.py", line 60, in from_xdr_object memo = TextMemo(memo_switch) File "/home/veljko/Documents/PythonSDK/env/lib/python3.5/site-packages/stellar_base/memo.py", line 38, in init raise TypeError('Expects string type got a ' + type(text).name) TypeError: Expects string type got a bytes