mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Don't call parseLogs if result.logs is falsy
This commit is contained in:
parent
af2bfbef1c
commit
3f7567bdb9
@ -136,7 +136,7 @@ export class CosmWasmClient {
|
||||
}
|
||||
|
||||
return {
|
||||
logs: parseLogs(result.logs) || [],
|
||||
logs: result.logs ? parseLogs(result.logs) : [],
|
||||
rawLog: result.raw_log || "",
|
||||
transactionHash: result.txhash,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user