Skip to content

Commit

Permalink
remove debug code in counter example
Browse files Browse the repository at this point in the history
  • Loading branch information
shelmesky committed Aug 7, 2024
1 parent 2911888 commit 2e1e8c3
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions examples/counter/sources/counter.move
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,10 @@ module rooch_examples::counter {
value:u64,
}

fun f5() {
abort(6789)
}

fun f4() {
f5();
}

fun f3() {
f4();
}

fun f2() {
f3();
}

fun f1() {
f2();
}

fun init() {
// The signer of the module address(rooch_examples)
let signer = moveos_std::signer::module_signer<Counter>();
account::move_resource_to(&signer, Counter { value: 0 });
f1();
}

public fun increase_() {
Expand Down

0 comments on commit 2e1e8c3

Please sign in to comment.