feat: add batch_time and batched to cash_in_txs
feat: add batched flag to clear tx to send feat: add batch information to front-end feat: change transaction sending info on batch sending fix: batching support function added to all wallet plugins fix: mock-wallet batching check feat: send machine information about batchable coins
This commit is contained in:
parent
8289c55acf
commit
00c38ea721
8 changed files with 43 additions and 19 deletions
|
|
@ -260,7 +260,8 @@ function plugins (settings, deviceId) {
|
|||
const configVersion = arr[2]
|
||||
const tz = arr[3]
|
||||
const cryptoCodesCount = cryptoCodes.length
|
||||
const batchableCoins = arr.slice(4, cryptoCodesCount + 4)
|
||||
const batchableCoinsRes = arr.slice(4, cryptoCodesCount + 4)
|
||||
const batchableCoins = batchableCoinsRes.map(it => ({ batchable: it }))
|
||||
const tickers = arr.slice(cryptoCodesCount + 4, 2 * cryptoCodesCount + 4)
|
||||
const balances = arr.slice(2 * cryptoCodesCount + 4, 3 * cryptoCodesCount + 4)
|
||||
const testNets = arr.slice(3 * cryptoCodesCount + 4, arr.length - 1)
|
||||
|
|
@ -272,7 +273,7 @@ function plugins (settings, deviceId) {
|
|||
cassettes,
|
||||
rates: buildRates(tickers),
|
||||
balances: buildBalances(balances),
|
||||
coins: _.zipWith(_.assign, coinsWithoutRate, tickers),
|
||||
coins: _.zipWith(_.assign, _.zipWith(_.assign, coinsWithoutRate, tickers), batchableCoins),
|
||||
configVersion,
|
||||
areThereAvailablePromoCodes,
|
||||
timezone: tz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue