Skip to content

Commit

Permalink
Add minor comment for account updates
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Dec 1, 2020
1 parent 406ec38 commit 355f0f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/types/src/account/account_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub enum AccountUpdate {
Create { address: Address, nonce: Nonce },
/// Delete an existing account.
/// Note: Currently this kind of update is not used directly in the network.
/// However, it's used to revert made operation (e.g. to restore state back in time from the last verified block).
Delete { address: Address, nonce: Nonce },
/// Change the account balance.
UpdateBalance {
Expand Down

0 comments on commit 355f0f3

Please sign in to comment.