Browse Source

Fixed bug in getwalletaccounts API call when using pubkey

Pascal Coin 4 years ago
parent
commit
4479571b44
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/URPC.pas

+ 1 - 0
src/core/URPC.pas

@@ -3058,6 +3058,7 @@ begin
         Lanl.FillList(l,k,LAccountsList);
         for j := 0 to LAccountsList.Count - 1 do begin
           account := FNode.GetMempoolAccount(LAccountsList[j]);
+          TPascalCoinJSONComp.FillAccountObject(account,jsonarr.GetAsObject(jsonarr.Count));
         end;
       Finally
         LAccountsList.Free;