mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 04:06:44 +00:00
Update pythonsigner.py
This commit is contained in:
parent
2eb1ccc6c4
commit
31aa0e26a6
1 changed files with 0 additions and 10 deletions
|
|
@ -27,16 +27,6 @@ except ImportError:
|
||||||
import urllib as urlparse
|
import urllib as urlparse
|
||||||
|
|
||||||
|
|
||||||
class StdIOTransport(ServerTransport):
|
|
||||||
"""Uses std input/output for RPC"""
|
|
||||||
|
|
||||||
def receive_message(self):
|
|
||||||
return None, urlparse.unquote(sys.stdin.readline())
|
|
||||||
|
|
||||||
def send_reply(self, context, reply):
|
|
||||||
print(reply)
|
|
||||||
|
|
||||||
|
|
||||||
class PipeTransport(ServerTransport):
|
class PipeTransport(ServerTransport):
|
||||||
"""Uses std a pipe for RPC"""
|
"""Uses std a pipe for RPC"""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue