Skip to content

Commit

Permalink
chore(sf-protos): fix code snippet in doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
suchapalaver committed Oct 15, 2024
1 parent 691ae4f commit eb4edb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/sf-protos/protos/block.proto
Original file line number Diff line number Diff line change
Expand Up @@ -666,9 +666,9 @@ message BalanceChange {
// It is safe in those case(s) to consider the balance as being 0.
//
// If you consume this from a Substreams, you can safely use:
//
// let old_value = old_value.unwrap_or_default();
//
// ```rust
// let old_value = old_value.unwrap_or_default();
// ```
BigInt old_value = 2;

// NewValue is the balance of the address after the change. This value
Expand Down

0 comments on commit eb4edb2

Please sign in to comment.