anchor.diff:      accountBalanceMin := ToPascalCoins(params.AsDouble('min_balance',-1));
       accountBalanceMax := ToPascalCoins(params.AsDouble('max_balance',-1));
       // Validate Parameters
  -    if (accountName <> '') And (exactMatch) then begin
  +    if (Length(accountName)>0) And (exactMatch) then begin
         if not FNode.Bank.SafeBox.ValidAccountName(accountName, errors) then begin
           ErrorNum := CT_RPC_ErrNum_InvalidAccountName;
           ErrorDesc := errors;
  
positive.code:         end;
          if (jsonArr.GetAsObject(i).IndexOfName('new_name')>=0) then begin
            changeinfo.Changes_type:=changeinfo.Changes_type + [account_name];
            changeinfo.New_Name:=jsonArr.GetAsObject(i).AsString('new_name','');
          end;
          if (jsonArr.GetAsObject(i).IndexOfName('new_type')>=0) then begin
            changeinfo.Changes_type:=changeinfo.Changes_type + [account_type];
  
negative.code:   // It assumes that account_signer,account_last_n_operation, account_target and account_pubkey are correct
    Function CreateOperationChangeKey(current_protocol : Word; account_signer, account_last_n_operation, account_target : Cardinal; const account_pubkey, new_pubkey : TAccountKey; fee : UInt64; RawPayload : TRawBytes; Const Payload_method, EncodePwd : AnsiString) : TOpChangeKey;
    // "payload_method" types: "none","dest"(default),"sender","aes"(must provide "pwd" param)
    var
      errors : AnsiString;
      f_raw : TRawBytes;
      privateKey : TECPrivateKey;
    Begin
      Result := Nil;
      if Not CheckAndGetPrivateKeyInWallet(account_pubkey,privateKey) then Exit(Nil);
      if Not CheckAndGetEncodedRAWPayload(RawPayload,Payload_method,EncodePwd,account_pubkey,new_pubkey,f_raw) then Exit(Nil);
      If account_signer=account_target then begin
        Result := TOpChangeKey.Create(current_protocol,account_signer,account_last_n_operation+1,account_target,privateKey,new_pubkey,fee,f_raw);
      end else begin
        Result := TOpChangeKeySigned.Create(current_protocol,account_signer,account_last_n_operation+1,account_target,privateKey,new_pubkey,fee,f_raw);
      end;
      if Not Result.HasValidSignature then begin
        FreeAndNil(Result);
  