@@ -625,12 +625,14 @@ global.HTTPCaller.SendTransactionHex = function(Params) {
 | 
			
		||||
};
 | 
			
		||||
global.HTTPCaller.SendDirectCode = function(Params, response) {
 | 
			
		||||
    var Result;
 | 
			
		||||
    if (Params.TX || Params.WEB) {
 | 
			
		||||
    if (Params.TX || Params.WEB || Params.ST) {
 | 
			
		||||
        var RunProcess;
 | 
			
		||||
        if (Params.TX)
 | 
			
		||||
            RunProcess = global.TX_PROCESS;
 | 
			
		||||
        if (Params.WEB)
 | 
			
		||||
            RunProcess = global.WEB_PROCESS;
 | 
			
		||||
        if (Params.ST)
 | 
			
		||||
            RunProcess = global.STATIC_PROCESS;
 | 
			
		||||
        if (RunProcess && RunProcess.RunRPC) {
 | 
			
		||||
            RunProcess.RunRPC("EvalCode", Params.Code, function(Err, Ret) {
 | 
			
		||||
                Result = { result: !Err, sessionid: sessionid, text: Ret, };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user