RpcSystemAssetTracker/CronContractInvoker.cs
/// <summary>
/// Parses string as long or BigInteger, 
/// throws RpcException on error
/// </summary>
/// <param name="v"></param>
/// <returns></returns>
Parses string as long or BigInteger,
throws RpcException on error
Parses string as long or BigInteger throws RpcException on error
private object IntParse(string v)
        {
            if (long.TryParse(v, out long num))
                return num;
            else if (BigInteger.TryParse(v.Substring(2), NumberStyles.AllowHexSpecifier, null, out BigInteger bi))
                return bi;
            throw new RpcException(-1212, "Parsing integer or BigInteger failed");
        }
private object IntParse ( string v ) { if ( long . TryParse ( v , out long num ) ) return num ; else if ( BigInteger . TryParse ( v . Substring ( 2 ) , NumberStyles . AllowHexSpecifier , null , out BigInteger bi ) ) return bi ; throw new RpcException ( - 1212 , " " ) ; }
Parses string as long or BigInteger,
throws RpcException on error
Parses string as long or BigInteger throws RpcException on error
None
v
string
None