Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
changed the loans map key to function properly
Browse files Browse the repository at this point in the history
  • Loading branch information
sternbergm authored and EmbeddedAndroid committed Oct 24, 2023
1 parent cb97a5a commit f532047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ First we're going to set up the data variables we need.
```clojure
;; Define the contract's data variables
(define-map deposits { owner: principal } { amount: uint })
(define-map loans principal { amount: uint, last-interaction-block: uint })
(define-map loans {owner : principal} { amount: uint, last-interaction-block: uint })

(define-data-var total-deposits uint u0)
(define-data-var total-loans uint u0)
Expand Down

0 comments on commit f532047

Please sign in to comment.