When a public key is already in use it complains that a 3Bot name is already used, which is incorrect.
Output in JSX:
JSX> result= w.threebot.record_new(1,["robot2000.sonnom"],["robot2000.org"],0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainWallet.py", line 1369, in record_new
return self._sign_and_submit_txn(txn, balance)
File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainWallet.py", line 1530, in _sign_and_submit_txn
txn.id = self._transaction_put(transaction=txn)
File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainWallet.py", line 1557, in _transaction_put
return self._wallet.client.transaction_put(transaction=transaction)
File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainClient.py", line 218, in transaction_put
resp = self.explorer_post(endpoint=endpoint, data=transaction)
File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainClient.py", line 462, in _explorer_post
return j.clients.tfchain.explorer.post(addresses=self.explorer_addresses, endpoint=endpoint, data=data)
File "/sandbox/lib/jumpscale/Jumpscale/clients/blockchain/tfchain/TFChainExplorerClient.py", line 108, in post
raise j.clients.tfchain.errors.ExplorerServerPostError(
Jumpscale.clients.blockchain.tfchain.types.Errors.ExplorerServerPostError: /transactionpool/transactions: POST: error (code: 400): b'{"message":"error after call to /wallet/transactions: bot name is already registered"}\n'
/transactionpool/transactions: POST: error (code: 400): b'{"message":"error after call to /wallet/transactions: bot name is already registered"}\n'
b'{"message":"error after call to /wallet/transactions: bot name is already registered"}\n'
When a public key is already in use it complains that a 3Bot name is already used, which is incorrect.
Output in JSX:
Transaction: