calculate amino overhead on the fly

This commit is contained in:
Anton Kaliaev
2018-08-31 16:01:22 +04:00
parent e957f322c7
commit e873fed815
2 changed files with 7 additions and 8 deletions
-6
View File
@@ -11,12 +11,6 @@ import (
cmn "github.com/tendermint/tendermint/libs/common"
)
const (
// MaxAminoOverheadForTx - maximum amino overhead to encode a transaction
// (ranges from 1 to 4 bytes).
MaxAminoOverheadForTx = 4
)
// Tx is an arbitrary byte array.
// NOTE: Tx has no types at this level, so when wire encoded it's just length-prefixed.
// Might we want types here ?