Fix slashing display (#4682)

This commit is contained in:
Jaco Greeff 2021-02-17 11:37:00 +01:00 committed by GitHub
parent 1767bf7af1
commit c12cfac0e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ export function useAvailableSlashes (): [BN, UnappliedSlash[]][] {
// any <= activeEra (we include activeEra since slashes are immediately reflected)
while (start.lte(indexes.activeEra)) {
range.push(start);
start = start.iadd(BN_ONE);
start = start.add(BN_ONE);
}
if (range.length) {