1
0

fix bug with hex_to_int; remove unused function

This commit is contained in:
ThomasV
2013-11-12 10:14:29 +01:00
parent 69639f901c
commit df76aac2db
2 changed files with 5 additions and 38 deletions

View File

@@ -5,10 +5,6 @@ from datetime import datetime
is_verbose = True
def hex_to_int(s):
return int('0x' + s[::-1].encode('hex'), 16)
class MyEncoder(json.JSONEncoder):
def default(self, obj):
from transaction import Transaction