mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Update packages/stargate/src/stargateclient.ts
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
This commit is contained in:
parent
5d299476ba
commit
194c922339
@ -285,7 +285,7 @@ export class StargateClient {
|
||||
const loadedDelegations = delegationResponses || [];
|
||||
allDelegations.push(...loadedDelegations);
|
||||
startAtKey = pagination?.nextKey;
|
||||
} while (startAtKey?.length !== 0 && startAtKey !== undefined);
|
||||
} while (startAtKey !== undefined && startAtKey.length !== 0);
|
||||
|
||||
const sumValues = allDelegations.reduce(
|
||||
(previousValue: Coin | null, currentValue: DelegationResponse): Coin => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user