There was an error while loading. Please reload this page.
1 parent 1c39804 commit 3d8f93aCopy full SHA for 3d8f93a
1 file changed
minimarket/sources/minimarket.move
@@ -137,8 +137,8 @@ module minimarket::minimarket {
137
if (!found) { 0 } else { vector::borrow(&m.balances, idx).amount }
138
}
139
140
- /// DEMO: init -> list -> buy -> withdraw_fees -> assert balance
141
- public entry fun entry_demo(s: &signer) {
+ /// DEMO: init -> list -> buy -> withdraw_fees -> assert balance
+ public entry fun entry_demo(s: &signer) acquires Market {
142
let admin = signer::address_of(s);
143
// 2.5% комиссия
144
init(s, 250);
0 commit comments