Skip to content

Commit

Permalink
Remove invalid state exception logging from AccountStateExtensions
Browse files Browse the repository at this point in the history
  • Loading branch information
sky1045 committed Jul 25, 2023
1 parent fdfd4b9 commit e82b0a2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Lib9c/Action/AccountStateExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ public static bool TryGetState<T>(this IAccountState states, Address address, ou
return true;
}

Log.Error(
"Expected a {0}, but got invalid state ({1}): ({2}) {3}",
typeof(T).Name,
address.ToHex(),
raw?.GetType().Name,
raw
);
result = default;
return false;
}
Expand Down

0 comments on commit e82b0a2

Please sign in to comment.