diff --git a/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common.csproj b/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common.csproj index b3093ab..cabb719 100644 --- a/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common.csproj +++ b/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 0.0.2 + 0.0.3 diff --git a/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common/StringExtensions.cs b/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common/StringExtensions.cs new file mode 100644 index 0000000..3755069 --- /dev/null +++ b/Bloqboard.Ethereum.Common/Bloqboard.Ethereum.Common/StringExtensions.cs @@ -0,0 +1,12 @@ +using System; + +namespace Bloqboard.Ethereum.Common +{ + public static class StringExtensions + { + public static bool AddressEquals(this string a, string b) + { + return string.Equals(a, b, StringComparison.OrdinalIgnoreCase); + } + } +} \ No newline at end of file