mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 22:05:18 +00:00
This PR removes lite & renames lite2 to light throughout the repo Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> Closes: #4944
15 lines
259 B
Go
15 lines
259 B
Go
package rpc
|
|
|
|
import (
|
|
"github.com/tendermint/tendermint/crypto/merkle"
|
|
)
|
|
|
|
func defaultProofRuntime() *merkle.ProofRuntime {
|
|
prt := merkle.NewProofRuntime()
|
|
prt.RegisterOpDecoder(
|
|
merkle.ProofOpSimpleValue,
|
|
merkle.SimpleValueOpDecoder,
|
|
)
|
|
return prt
|
|
}
|