Skip to content

Commit 81a9ae9

Browse files
committed
Added comment for the 0 balance option
1 parent 6bbb3c0 commit 81a9ae9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/env/src/engine/off_chain/test_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ pub struct EmittedEvent {
4646
/// Note that account could refer to either a user account or
4747
/// a smart contract account.
4848
///
49+
/// If a 0 balance is set, this would not fail. This is useful for
50+
/// reaping an account.
51+
///
4952
/// # Errors
5053
///
5154
/// - If `account` does not exist.

0 commit comments

Comments
 (0)