Ad
  • Default User Avatar

    because Counter is subclass of dict..try isinstance(a,b) it will handle inheritance

  • Custom User Avatar

    Hi

    Input hashes are in MSB

    tx_hashes = ["8347cee4a1cb5ad1bb0d92e86e6612dbf6cfc7649c9964f210d4069b426e720a","a16f3ce4dd5deb92d98ef5cf8afeaf0775ebca408f708b2146c4fb42b41e14be"]

    So, you should convert it into LSB and then calculate hash(tx0_LSB) and hash(tx1_LSB) at the first step

    Notice, you should convert hash(tx0_LSB) into LSB too