Explorar o código

Fix #187

Fixed manually. Found by Isaac Cook (icook). Thanks!
PascalCoin %!s(int64=6) %!d(string=hai) anos
pai
achega
ae4217eade
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/core/URPC.pas

+ 1 - 0
src/core/URPC.pas

@@ -1547,6 +1547,7 @@ function TRPCProcess.ProcessMethod(const method: String; params: TPCJSONObject;
     i : Integer;
     OperationsResumeList : TOperationsResumeList;
   Begin
+    Result := False;
     if Not TPascalCoinJSONComp.HexaStringToOperationsHashTree(HexaStringOperationsHashTree,OperationsHashTree,errors) then begin
       ErrorNum:=CT_RPC_ErrNum_InvalidData;
       ErrorDesc:= 'Error decoding param "rawoperations": '+errors;