mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-03 11:45:18 +00:00
12 lines
246 B
Go
12 lines
246 B
Go
package test
|
|
|
|
import "github.com/tendermint/tendermint/types"
|
|
|
|
func MakeNTxs(height, n int64) []types.Tx {
|
|
txs := make([]types.Tx, n)
|
|
for i := range txs {
|
|
txs[i] = types.Tx([]byte{byte(height), byte(i / 256), byte(i % 256)})
|
|
}
|
|
return txs
|
|
}
|