Skip to content

Commit

Permalink
chore: fix some comments (#393)
Browse files Browse the repository at this point in the history
Signed-off-by: crystalstall <[email protected]>
  • Loading branch information
crystalstall authored Jul 19, 2024
1 parent 8f01d19 commit 8dae74f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gethrpc/subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (n *Notifier) takeSubscription() *Subscription {
return n.sub
}

// acticate is called after the subscription ID was sent to client. Notifications are
// activate is called after the subscription ID was sent to client. Notifications are
// buffered before activation. This prevents notifications being sent to the client before
// the subscription ID is sent to the client.
func (n *Notifier) activate() error {
Expand Down
6 changes: 3 additions & 3 deletions types/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type EventBalancesEndowed struct {
Topics []Hash
}

// EventDustLost is emitted when an account is removed with a balance that is
// EventBalancesDustLost is emitted when an account is removed with a balance that is
// non-zero but below ExistentialDeposit, resulting in a loss.
type EventBalancesDustLost struct {
Phase Phase
Expand All @@ -58,7 +58,7 @@ type EventBalancesTransfer struct {
Topics []Hash
}

// EventBalanceSet is emitted when a balance is set by root
// EventBalancesBalanceSet is emitted when a balance is set by root
type EventBalancesBalanceSet struct {
Phase Phase
Who AccountID
Expand All @@ -67,7 +67,7 @@ type EventBalancesBalanceSet struct {
Topics []Hash
}

// EventDeposit is emitted when an account receives some free balance
// EventBalancesDeposit is emitted when an account receives some free balance
type EventBalancesDeposit struct {
Phase Phase
Who AccountID
Expand Down

0 comments on commit 8dae74f

Please sign in to comment.