ForwardingService: move getPrefix() to end of file
This is meant to make the coming refactoring to CompletableFuture more
readable. It was in the middle of three main methods.
@@ -158,10 +158,6 @@ public class ForwardingService {
});
}
- static String getPrefix(BitcoinNetwork network) {
- return String.format("forwarding-service-%s", network.toString());
- }
-
private void forwardCoins(Address forwardingAddress) {
try {
// Now send the coins onwards.
@@ -186,4 +182,8 @@ public class ForwardingService {
public Address receivingAddress() {
return kit.wallet().currentReceiveAddress();
}
+
+ static String getPrefix(BitcoinNetwork network) {
+ return String.format("forwarding-service-%s", network.toString());
+ }
}
