Skip to content

Commit

Permalink
Fixed bug TNetData config is not updated properly on activate
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalCoinDev committed Mar 7, 2024
1 parent 087bafa commit ff27d93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui-classic/UFRMWallet.pas
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,13 @@ procedure TFRMWallet.Activate;
Raise;
end;
End;
UpdateConfigChanged(Self);
ips := TSettings.TryConnectOnlyWithThisFixedServers;
TNode.DecodeIpStringToNodeServerAddressArray(ips,nsarr);
TNetData.NetData.DiscoverFixedServersOnly(nsarr);
setlength(nsarr,0);

UpdateConfigChanged(Self);

// Creating Node:
FNode := TNode.Node;
FNode.NetServer.Port := TSettings.InternetServerPort;
Expand Down

0 comments on commit ff27d93

Please sign in to comment.