Update packages/cosmwasm-stargate/src/cosmwasmclient.ts

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
This commit is contained in:
Milan Steiner
2022-03-14 15:21:59 +01:00
committed by GitHub
co-authored by Simon Warta
parent 612efece8f
commit fab3fcc31f
@@ -325,7 +325,7 @@ export class CosmWasmClient {
throw new Error(_e);
}
return (allCodes || []).map((entry: CodeInfoResponse): Code => {
return allCodes.map((entry: CodeInfoResponse): Code => {
assert(entry.creator && entry.codeId && entry.dataHash, "entry incomplete");
return {
id: entry.codeId.toNumber(),