UNPKG

leap-node

Version:

[![codecov](https://codecov.io/gh/leapdao/leap-node/branch/master/graph/badge.svg)](https://codecov.io/gh/leapdao/leap-node) [![Docker Repository on Quay](https://quay.io/repository/leapdao/leap-node/status "Docker Repository on Quay")](https://quay.io/re

13 lines (9 loc) 281 B
const sendTx = require('../../txHelpers/sendTx'); module.exports = async (tendermintPort, ...txs) => { const len = txs.length; for (let i = 0; i < len; i += 1) { // eslint-disable-next-line no-await-in-loop await sendTx(tendermintPort, txs[i]); } return len; };