diff --git a/src/Plugins/RpcServer/RpcError.cs b/src/Plugins/RpcServer/RpcError.cs index 667a3906d4..7f383025a5 100644 --- a/src/Plugins/RpcServer/RpcError.cs +++ b/src/Plugins/RpcServer/RpcError.cs @@ -55,7 +55,7 @@ public class RpcError public static readonly RpcError AlreadyInPool = new(-503, "Already in pool"); public static readonly RpcError InsufficientNetworkFee = new(-504, "Insufficient network fee"); public static readonly RpcError PolicyFailed = new(-505, "Policy check failed"); - public static readonly RpcError InvalidScript = new(-509, "Invalid transaction script"); + public static readonly RpcError InvalidScript = new(-506, "Invalid transaction script"); public static readonly RpcError InvalidAttribute = new(-507, "Invalid transaction attribute"); public static readonly RpcError InvalidSignature = new(-508, "Invalid signature"); public static readonly RpcError InvalidSize = new(-509, "Invalid inventory size");