Skip to content

Instantly share code, notes, and snippets.

@thejohnfreeman
Created February 18, 2020 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thejohnfreeman/5a0448802553df4392cc2c88f09d48ec to your computer and use it in GitHub Desktop.
Save thejohnfreeman/5a0448802553df4392cc2c88f09d48ec to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jfreeman/code/xpring-py/xpring/client.py", line 108, in send
self.submit(signed_transaction)
File "/home/jfreeman/code/xpring-py/xpring/client.py", line 88, in submit
self.grpc_client.SubmitSignedTransaction(request)
File "/home/jfreeman/code/xpring-py/.venv/lib/python3.7/site-packages/grpc/_channel.py", line 826, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/jfreeman/code/xpring-py/.venv/lib/python3.7/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "invalidTransaction"
debug_error_string = "{"created":"@1582047022.336645151","description":"Error received from peer ipv4:34.70.105.194:80","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"invalidTransaction","grpc_status":2}"
>
import xpring
seed = 'ss5mwZhHGKSqDz3xvXD7Uo3wCr52V'
wallet = xpring.Wallet.from_seed(seed)
url = 'grpc.xpring.tech:80'
client = xpring.Client.from_url(url)
destination = 'rwvRYZsF7vRQHgJ9LgtoAdSP4X4sjaPoAJ'
client.send(wallet, destination, 10)
@thejohnfreeman
Copy link
Author

thejohnfreeman commented Feb 18, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment