mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 14:21:14 +00:00
12 lines
228 B
Go
12 lines
228 B
Go
package factory
|
|
|
|
import "github.com/tendermint/tendermint/types"
|
|
|
|
func MakeTenTxs(height int64) []types.Tx {
|
|
txs := make([]types.Tx, 10)
|
|
for i := range txs {
|
|
txs[i] = types.Tx([]byte{byte(height), byte(i)})
|
|
}
|
|
return txs
|
|
}
|