use floor division

This commit is contained in:
tim watts
2016-01-05 22:37:22 +00:00
parent 65a0156412
commit eece2ae7a5
3 changed files with 3 additions and 5 deletions

View File

@ -56,7 +56,7 @@ class CounterAppContext():
return "", 0
h = encode_big_endian(self.txCount, 8)
h.reverse()
return str(h), 0
return h.decode(), 0
def commit(self):
self.commitCount += 1