main: simplify trezor_agent

This commit is contained in:
Roman Zeyde
2015-08-17 18:04:44 +03:00
parent d47741e9ab
commit b33a281762
3 changed files with 10 additions and 15 deletions

View File

@@ -64,7 +64,3 @@ def frame(*msgs):
res.write(msg)
msg = res.getvalue()
return pack('L', len(msg)) + msg
def to_ascii(s):
return s.decode('ascii')