mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-09 14:43:19 +00:00
Merkle root of tx is for signbytes
This commit is contained in:
@@ -277,7 +277,7 @@ func (data *Data) Hash() []byte {
|
||||
if data.hash == nil {
|
||||
bs := make([]interface{}, len(data.Txs))
|
||||
for i, tx := range data.Txs {
|
||||
bs[i] = tx
|
||||
bs[i] = account.SignBytes(tx)
|
||||
}
|
||||
data.hash = merkle.HashFromBinaries(bs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user