Nym node - Fix claim delegator rewards (#5090)

* update function param from mixId to nodeId

* fix claim operator rewards
This commit is contained in:
Fouad
2024-11-05 13:01:22 +00:00
committed by GitHub
parent c6959d3e2d
commit fa551b6d9d
5 changed files with 6 additions and 13 deletions
-1
View File
@@ -102,7 +102,6 @@ export const isLessThan = (a: number, b: number) => a < b;
*/
export const isBalanceEnough = (fee: string, tx: string = '0', balance: string = '0') => {
console.log('balance', balance, fee, tx);
try {
return Big(balance).gte(Big(fee).plus(Big(tx)));
} catch (e) {