mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-25 17:34:36 +00:00
calculate amino overhead on the fly
This commit is contained in:
@@ -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 ?
|
||||
|
||||
Reference in New Issue
Block a user