Update packages/cosmwasm-stargate/src/cosmwasmclient.ts
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
This commit is contained in:
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(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user