From f5f74531d0e0582fcc0de7e90389eba0f4d6d25f Mon Sep 17 00:00:00 2001 From: Robert Valta Date: Tue, 31 Jul 2018 14:05:28 +0300 Subject: [PATCH] Revert byte strings --- mythril/leveldb/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mythril/leveldb/client.py b/mythril/leveldb/client.py index 5d47ed6c..0ec83d90 100644 --- a/mythril/leveldb/client.py +++ b/mythril/leveldb/client.py @@ -17,12 +17,12 @@ num_suffix = b'n' # header_prefix + num (uint64 big endian) + num_suf block_hash_prefix = b'H' # block_hash_prefix + hash -> num (uint64 big endian) block_receipts_prefix = b'r' # block_receipts_prefix + num (uint64 big endian) + hash -> block receipts # known geth keys -head_header_key = b'last_block' # head (latest) header hash +head_header_key = b'LastBlock' # head (latest) header hash # custom prefixes address_prefix = b'AM' # address_prefix + hash -> address # custom keys -address_mapping_head_key = b'account_mapping' # head (latest) number of indexed block -head_header_key = b'last_block' # head (latest) header hash +address_mapping_head_key = b'accountMapping' # head (latest) number of indexed block +head_header_key = b'LastBlock' # head (latest) header hash def _format_block_number(number):