Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions contracts/button/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ mod button_game {
#[ink(topic)]
by: AccountId,
when: BlockNumber,
score: Balance,
}

/// Event emitted when the finished game is reset and pressiah is rewarded
Expand Down Expand Up @@ -215,6 +216,7 @@ mod button_game {
Event::ButtonPressed(ButtonPressed {
by: caller,
when: now,
score,
}),
);

Expand Down