Hsiao-Wei Wang f7320ec25b
Fix compute_commitment
1. Use `+` to concatenate the merkle roots in `hash` function.
2. Fix `pad_to_power_of_2`: padding with `[b'\x00' * SHARD_BLOCK_SIZE]`,
not `[SHARD_BLOCK_SIZE]`.
2019-02-14 00:30:00 +08:00
..
2019-02-14 00:30:00 +08:00
2018-10-16 17:50:56 -05:00