remove console (#1158)
This commit is contained in:
parent
b06a0e8d5f
commit
3e7683b2c0
@ -197,14 +197,6 @@ class Bond extends React.PureComponent<Props, State> {
|
||||
let maxBalance = new BN(1);
|
||||
let extrinsic;
|
||||
|
||||
console.log(Object.entries(balances_all)
|
||||
.reduce((obj, [key, bn]) => {
|
||||
return {
|
||||
...obj,
|
||||
[key]: bn.toString()
|
||||
};
|
||||
}, {}));
|
||||
|
||||
while (!prevMax.eq(maxBalance)) {
|
||||
prevMax = maxBalance;
|
||||
|
||||
@ -217,8 +209,6 @@ class Bond extends React.PureComponent<Props, State> {
|
||||
const fees = transactionBaseFee
|
||||
.add(transactionByteFee.muln(txLength));
|
||||
|
||||
console.log(fees.toString());
|
||||
|
||||
maxBalance = new BN(freeBalance).sub(fees);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user