ForwardingService: print network, not network.id()

Both the code and the output is simpler this way.
This commit is contained in:
Sean Gilligan 2024-04-22 09:20:58 -07:00 committed by Andreas Schildbach
parent ead69daae6
commit c3e8b741ea

View File

@ -95,7 +95,7 @@ public class ForwardingService implements Closeable {
* Start the wallet and register the coin-forwarding listener.
*/
public void run() {
System.out.println("Network: " + network.id());
System.out.println("Network: " + network);
System.out.println("Forwarding address: " + forwardingAddress);
// Create and start the WalletKit