From 9387103558a5e0827340248b453ebd383f7449d3 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Tue, 14 Apr 2020 18:15:28 +0200 Subject: [PATCH] cookbook link --- docs/cookbook/storage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cookbook/storage.md b/docs/cookbook/storage.md index 9ef74a35fa..8678a6f0fc 100644 --- a/docs/cookbook/storage.md +++ b/docs/cookbook/storage.md @@ -30,7 +30,7 @@ console.log(sizeN.isZero(), sizeY.toNumber()); // true 0 ## How do I use .entries()/.keys() on double maps? -As [explained elsewhere](../start/api.query.other.md#state-entries) each map-type storage entry exposes the entries/keys helpers to retrieve the whole list. In the case of double maps, with the addition of a single argument, you can retrieve either all entries or a subset based on the first map key. +As [explained elsewhere](../start/api.query.other.md#map-keys-entries) each map-type storage entry exposes the entries/keys helpers to retrieve the whole list. In the case of double maps, with the addition of a single argument, you can retrieve either all entries or a subset based on the first map key. In both these cases, entries/keys operate the same way, `.entries()` retrieving `(StorageKey, Codec)[]` and `.keys()` retrieving `StorageKey[]`