mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-03 11:45:18 +00:00
## Description This PR removes simple prefix from all types in the crypto/merkle directory. The two proto types `Proof` & `ProofOp` have been moved to the `proto/crypto/merkle` directory. proto messge `Proof` was renamed to `ProofOps` and `SimpleProof` message to `Proof`. Closes: #2755
15 lines
247 B
Go
15 lines
247 B
Go
package rpc
|
|
|
|
import (
|
|
"github.com/tendermint/tendermint/crypto/merkle"
|
|
)
|
|
|
|
func defaultProofRuntime() *merkle.ProofRuntime {
|
|
prt := merkle.NewProofRuntime()
|
|
prt.RegisterOpDecoder(
|
|
merkle.ProofOpValue,
|
|
merkle.ValueOpDecoder,
|
|
)
|
|
return prt
|
|
}
|