Skip to content

Commit

Permalink
fix(tx): remove missed deposit field in contract call tx
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Apr 1, 2023
1 parent 18ee736 commit a1aa7c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/utils/print.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ function printContractCallTransaction(tx = {}, tabs = '') {
printUnderscored(`${tabs}Caller Account`, tx?.tx?.callerId ?? 'N/A');
printUnderscored(`${tabs}Contract Hash`, tx?.tx?.contractId ?? 'N/A');
printUnderscored(`${tabs}Amount`, tx?.tx?.amount ?? 0);
printUnderscored(`${tabs}Deposit`, tx?.tx?.deposit ?? 0);
printUnderscored(`${tabs}Gas`, tx?.tx?.gas ?? 0);
printUnderscored(`${tabs}Gas Price`, tx?.tx?.gasPrice ?? 0);
printUnderscored(`${tabs}Call data`, tx.tx.callData);
Expand Down
1 change: 0 additions & 1 deletion test/tx.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ Tx Type _________________________________ ContractCallTx
Caller Account __________________________ ${TX_KEYS.publicKey}
Contract Hash ___________________________ ${contractId}
Amount __________________________________ 0
Deposit _________________________________ 0
Gas _____________________________________ 5817960
Gas Price _______________________________ 1000000000
Call data _______________________________ ${callData}
Expand Down

0 comments on commit a1aa7c7

Please sign in to comment.