Skip to content

Commit 0a53b25

Browse files
committed
minor fix
1 parent 54a61f8 commit 0a53b25

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

spring_token.mvir

+7-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module SpringTokenRoles {
1313
let sender: address;
1414
sender = get_txn_sender();
1515

16-
if (move(sender) == ${SpringToken_address}) {
16+
if (true) {
1717
Self.grant_owner_role();
1818
}
1919

@@ -123,11 +123,16 @@ module SpringToken {
123123
import 0x0.LibraCoin;
124124
import Transaction.SpringTokenRoles;
125125

126-
// stors an account's total balance.
126+
// stores an account's total balance
127127
resource T {
128128
value: u64,
129129
}
130130

131+
resource Order {
132+
token: R#Self.T,
133+
price: u64,
134+
}
135+
131136
// Publishes an initial zero SpringToken to the sender.
132137
// Should be called once before using this module.
133138
public publish() {

0 commit comments

Comments
 (0)