mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
Currently the top level directory contains basically all of the code for the crypto package. This PR moves the crypto code into submodules in a similar manner to what `golang/x/crypto` does. This improves code organization. Ref discussion: https://github.com/tendermint/tendermint/pull/1966 Closes #1956
13 lines
207 B
Go
13 lines
207 B
Go
package state
|
|
|
|
import (
|
|
"github.com/tendermint/go-amino"
|
|
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
|
|
)
|
|
|
|
var cdc = amino.NewCodec()
|
|
|
|
func init() {
|
|
cryptoAmino.RegisterAmino(cdc)
|
|
}
|