Skip to content

Commit

Permalink
fix: don't print contract deposit because it can't be used
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Apr 15, 2024
1 parent 5a9f4cc commit 47e0306
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 @@ -99,7 +99,6 @@ function printTransactionSync(_tx, json, currentHeight) {
}
printTxField(tx, 'Amount', 'amount', formatCoins);
printTxField(tx, 'Payload', 'payload');
printTxField(tx, 'Deposit', 'deposit', formatCoins);
printTxField(tx, 'Gas', 'gas');
printTxField(tx, 'Gas price', 'gasPrice', formatCoins);
printTxField(tx, 'Bytecode', 'code');
Expand Down
1 change: 0 additions & 1 deletion test/tx.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ This is an unsigned transaction. Use \`account sign\` and \`tx broadcast\` to su
'Transaction type ________________________ ContractCreateTx',
`Owner address ___________________________ ${TX_KEYS.publicKey}`,
'Amount __________________________________ 0ae',
'Deposit _________________________________ 0ae',
'Gas _____________________________________ 5921420',
'Gas price _______________________________ 0.000000001ae',
`Bytecode ________________________________ ${bytecode}`,
Expand Down

0 comments on commit 47e0306

Please sign in to comment.