Skip to content

Commit

Permalink
fix eth transaction builder issue at service mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rus7hex committed Jun 12, 2024
1 parent 9748a7b commit 9907e70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/app-eth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@secux/app-eth",
"version": "3.0.20",
"version": "3.0.21",
"description": "SecuX Hardware Wallet ETH API",
"keywords": [
"secux",
Expand Down
3 changes: 2 additions & 1 deletion packages/app-eth/src/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ class ETHTransactionBuilder {
return parseInt(Buffer.from(this.tx.chainId).toString("hex"), 16);
}

get tx() { return wrapResult(_ethTx.get(this)); }
get tx() { return _ethTx.get(this); }
get txJSON() { return wrapResult(this.tx); }
}

class EIP1559Builder extends ETHTransactionBuilder {
Expand Down

0 comments on commit 9907e70

Please sign in to comment.