mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 14:21:14 +00:00
state: fix txResult issue with UnmarshalBinary into ptr
This commit is contained in:
@@ -68,7 +68,7 @@ func (txi *TxIndex) Get(hash []byte) (*types.TxResult, error) {
|
||||
}
|
||||
|
||||
txResult := new(types.TxResult)
|
||||
err := wire.UnmarshalBinary(rawBytes, txResult)
|
||||
err := wire.UnmarshalBinary(rawBytes, &txResult)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Error reading TxResult: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user