Skip to content

Commit 225cc8a

Browse files
committed
domain-manager: update bulk transfer batch size
1 parent 10690c0 commit 225cc8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/pages/DomainManager/BulkTransfer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { Component } from 'react';
22
import PropTypes from "prop-types";
3+
import { consensus } from 'hsd/lib/protocol';
34
import { MiniModal } from '../../components/Modal/MiniModal';
45
import { Table, HeaderRow, HeaderItem, TableRow, TableItem } from '../../components/Table';
56
import { connect } from 'react-redux';
@@ -10,8 +11,7 @@ import Alert from "../../components/Alert";
1011
import {transferMany} from "../../ducks/names";
1112
import {I18nContext} from "../../utils/i18n";
1213

13-
// TODO: Research and set a good value
14-
const MAX_TRANSFERS_PER_BATCH = 100;
14+
const MAX_TRANSFERS_PER_BATCH = consensus.MAX_BLOCK_UPDATES / 6;
1515

1616
@connect(
1717
(state) => ({

0 commit comments

Comments
 (0)