Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix small typos in minting.md #334

Merged
merged 1 commit into from Oct 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/native-tokens/minting.md
Expand Up @@ -352,13 +352,13 @@ fee=$(cardano-cli transaction calculate-min-fee --tx-body-file matx.raw --tx-in-
```

Remember, the transaction input and the output of ada must be equal, or otherwise, the transaction will fail. There can be no leftovers.
To calculate the remaining output wee need to subtract the fee from our funds and save the result in our output variable.
To calculate the remaining output we need to subtract the fee from our funds and save the result in our output variable.

```bash
output=$(expr $funds - $fee)
```

We now have every value we need to re-build the transaction, ready to be signed. So we reissue the same command to re-buld, the only difference being our variables now holding the correct values.
We now have every value we need to re-build the transaction, ready to be signed. So we reissue the same command to re-build, the only difference being our variables now holding the correct values.

```bash
cardano-cli transaction build-raw \
Expand Down