Sawtooth Invalid Batch or Signature

后端 未结 3 1847
心在旅途
心在旅途 2021-01-06 08:23

I have started playing atound with Hyperledger Sawtooth recently, and having trouble to submit transactions on java, while python code seems okay.

I have prepared t

3条回答
  •  悲&欢浪女
    2021-01-06 08:43

    I've just have the same issue. In my case the problem was in setting payload data.

    Be sure that:

    • You made a sha512 hash of your PayloadByteArray and pass it to TransactionHeader creation
    • You pass PayloadByteArray to transaction creation.

    So:

    • PayloadByteArray -> Transaction creation
    • sha512 Hash of PayloadByteArray -> TransactionHeader creation

提交回复
热议问题