You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
228 B

  1. package factory
  2. import "github.com/tendermint/tendermint/types"
  3. func MakeTenTxs(height int64) []types.Tx {
  4. txs := make([]types.Tx, 10)
  5. for i := range txs {
  6. txs[i] = types.Tx([]byte{byte(height), byte(i)})
  7. }
  8. return txs
  9. }