Skip to content

Commit

Permalink
build: update comment and typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
chadoh committed Aug 24, 2023
1 parent 816aec9 commit 90c8a3d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 17 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ export async function invoke<R extends ResponseTypes, T = string>({
if (responseType === "full") return raw;

// if `sendTx` awaited the inclusion of the tx in the ledger, it used
// `getTransaction`, which has a `resultXdr` field
if ("resultXdr" in raw) return parse(raw.returnValue);
// `getTransaction`, which has a `returnValue` field
if ("returnValue" in raw) return parse(raw.returnValue);

// otherwise, it returned the result of `sendTransaction`
if ("errorResultXdr" in raw) return parse(raw.errorResultXdr);
Expand Down

0 comments on commit 90c8a3d

Please sign in to comment.