diff --git a/neo3-gui/neo3-gui/ClientApp/package-lock.json b/neo3-gui/neo3-gui/ClientApp/package-lock.json
index 6771a28..67f5135 100644
--- a/neo3-gui/neo3-gui/ClientApp/package-lock.json
+++ b/neo3-gui/neo3-gui/ClientApp/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "neo-gui",
- "version": "1.2.1",
+ "version": "1.2.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/neo3-gui/neo3-gui/ClientApp/package.json b/neo3-gui/neo3-gui/ClientApp/package.json
index 703f470..8bbb880 100644
--- a/neo3-gui/neo3-gui/ClientApp/package.json
+++ b/neo3-gui/neo3-gui/ClientApp/package.json
@@ -1,6 +1,6 @@
{
"name": "neo-gui",
- "version": "1.2.2",
+ "version": "1.2.3",
"private": true,
"main": "main.js",
"homepage": "./",
diff --git a/neo3-gui/neo3-gui/Helpers.cs b/neo3-gui/neo3-gui/Helpers.cs
index 352672e..de086da 100644
--- a/neo3-gui/neo3-gui/Helpers.cs
+++ b/neo3-gui/neo3-gui/Helpers.cs
@@ -305,10 +305,10 @@ public static string SafeSerialize(this ContractParametersContext signContext)
///
///
///
- public static Transaction InitTransaction(this Wallet wallet, byte[] script, params UInt160[] signers)
+ public static Transaction InitTransaction(this Wallet wallet, byte[] script, UInt160 sender = null, params UInt160[] signers)
{
var cosigners = signers.Select(account => new Signer { Account = account, Scopes = WitnessScope.Global }).ToArray();
- return InitTransaction(wallet, script, cosigners);
+ return InitTransaction(wallet, script, sender, cosigners);
}
///
@@ -316,11 +316,12 @@ public static Transaction InitTransaction(this Wallet wallet, byte[] script, par
///
///
///
+ ///
///
///
- public static Transaction InitTransaction(this Wallet wallet, byte[] script, params Signer[] signers)
+ public static Transaction InitTransaction(this Wallet wallet, byte[] script, UInt160 sender = null, params Signer[] signers)
{
- var tx = wallet.MakeTransaction(GetDefaultSnapshot(), script, null, signers, maxGas: 2000_00000000);
+ var tx = wallet.MakeTransaction(GetDefaultSnapshot(), script, sender, signers, maxGas: 2000_00000000);
return tx;
}
diff --git a/neo3-gui/neo3-gui/Models/ErrorCode.cs b/neo3-gui/neo3-gui/Models/ErrorCode.cs
index 67a1501..2ff64e1 100644
--- a/neo3-gui/neo3-gui/Models/ErrorCode.cs
+++ b/neo3-gui/neo3-gui/Models/ErrorCode.cs
@@ -64,7 +64,7 @@ public enum ErrorCode
UnknownContract = 20028,
[Description("Contract already onchain.")]
ContractAlreadyExist = 20029,
- [Description("Validator already exits.")]
+ [Description("Validator already exists.")]
ValidatorAlreadyExist = 20030,
[Description("No gas for claim.")]
NoNeedClaimGas = 20031,
diff --git a/neo3-gui/neo3-gui/Services/ApiService.cs b/neo3-gui/neo3-gui/Services/ApiService.cs
index 653c16f..b80b42f 100644
--- a/neo3-gui/neo3-gui/Services/ApiService.cs
+++ b/neo3-gui/neo3-gui/Services/ApiService.cs
@@ -37,14 +37,12 @@ protected WsError Error(int code, string message)
return new WsError() { Code = code, Message = message };
}
-
-
- protected async Task