Skip to content

Commit

Permalink
Merge pull request #2276 from riemannulus/fix/accountextensions-docst…
Browse files Browse the repository at this point in the history
…ring

🔧  fix: add docs for `AccountExtensions.cs`
  • Loading branch information
riemannulus authored Dec 6, 2023
2 parents 9f53197 + cbeb656 commit 04579fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .Lib9c.Tests/AccountExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ public static class AccountExtensions
/// This can be very slow depending on the size of the state.
/// For test backward compatibility only. Should not be used in production.
/// </summary>
/// <param name="account">The account to remove the value from.</param>
/// <param name="address">The address of the value to remove.</param>
/// <returns>
/// A new <see cref="IAccount"/> instance with the value removed.
/// </returns>
public static IAccount SetNull(this IAccount account, Address address)
{
var trie = MockState.Empty.Trie;
Expand Down

0 comments on commit 04579fe

Please sign in to comment.