Skip to content

Commit

Permalink
typo - fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
bonkman22 committed Jul 24, 2024
1 parent cadc072 commit d8fd9ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hop.ag/sdk",
"version": "3.1.7",
"version": "3.1.8",
"description": "Official Hop SDK to access Hop Aggregator",
"type": "module",
"main": "dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/routes/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export async function fetchTx(
// @ts-ignore
{ [params.input_coin_argument.$kind]: ensure_array(params.input_coin_argument[params.input_coin_argument.$kind]) } :
undefined;
const base_transaction = params.base_transaction?.getDigest();
const base_transaction = await params.base_transaction?.getDigest();

const compileRequest = compileRequestSchema.parse({
trade: params.trade,
Expand Down

0 comments on commit d8fd9ff

Please sign in to comment.