toncenter / tvm_valuetypes

Collection of utils for handling The Open Network Virtual Machine value types
Other
9 stars 10 forks source link

Fix cell_sizes type to dict. #1

Closed maratsarbasov closed 2 years ago

maratsarbasov commented 2 years ago

Error fix:


line 169, in serialize_boc
    cell_sizes[_hash] = subcell.serialize_for_boc_size(index_hashmap, s_bytes)
TypeError: list indices must be integers or slices, not bytes```