Пример #1
0
 private Transaction GetNonAcs2Transaction(ResourceInfo resourceInfo)
 {
     return(new Transaction()
     {
         From = AddressHelper.Base58StringToAddress("9Njc5pXW9Rw499wqSJzrfQuJQFVCcWnLNjZispJM4LjKmRPyq"),
         To = AddressHelper.Base58StringToAddress(InternalConstants.NonAcs2),
         MethodName = nameof(SmartContractExecution.Parallel.Tests.TestContract.TestContract.GetResourceInfo),
         Params = resourceInfo.ToByteString(),
         Signature = ByteString.CopyFromUtf8(KernelConstants.SignaturePlaceholder)
     });
 }