mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-27 19:37:08 +00:00
committed by
Alexander Simmerl
parent
989a2f32b1
commit
724e264ff5
+6
-1
@@ -1,7 +1,7 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"github.com/tendermint/go-amino"
|
||||
amino "github.com/tendermint/go-amino"
|
||||
"github.com/tendermint/tendermint/crypto/encoding/amino"
|
||||
)
|
||||
|
||||
@@ -15,3 +15,8 @@ func RegisterBlockAmino(cdc *amino.Codec) {
|
||||
cryptoAmino.RegisterAmino(cdc)
|
||||
RegisterEvidences(cdc)
|
||||
}
|
||||
|
||||
// GetCodec returns a codec used by the package. For testing purposes only.
|
||||
func GetCodec() *amino.Codec {
|
||||
return cdc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user