Skip to content

Commit

Permalink
Random fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JRI98 committed Jul 8, 2024
1 parent 8586013 commit 251a2c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exercises/011_idempotency.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
source ./tools/tb_function.sh

# We've been accounts and transfers with different IDs.
# We've seen accounts and transfers with different IDs.
# What happens if we try to create the same account or transfer twice?

# Let's try creating the same account multiple times:
Expand Down
1 change: 0 additions & 1 deletion exercises/013_lookup_accounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ tb "lookup_accounts id=1300, id=1301;"

# Can you create another transfer so that account 1300 ends up with a net debit balance of 70?
# (Hint: the debits_posted will remain at 100, but the credits_posted will increase to 30.)
# Can you create another transfer so that account 1300 ends up with debits_posted of 70?
tb "create_transfers id=13001 debit_account_id=??? credit_account_id=??? amount=30 ledger=130 code=10;"

output=$(tb "lookup_accounts id=1300")
Expand Down
2 changes: 1 addition & 1 deletion exercises/017_asset_scale.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tb "create_transfers id=17000 debit_account_id=1700 credit_account_id=1701 amoun
# TigerBeetle only uses integer amounts for precision and performance reasons.
# You should represent amounts as multiples of the smallest unit an asset supports.
# For example, if you're working with dollars, you might represent amounts in cents
# so $1.5 would be represented as amount=1500.
# so $1.5 would be represented as amount=150.

# The asset "scale" should be considered a property of the ledger. You can use a different scale for each ledger.

Expand Down

0 comments on commit 251a2c7

Please sign in to comment.