Rename tool for the payment protocol. It was not obvious from the name that it has a main method.

This commit is contained in:
Andreas Schildbach 2014-04-13 13:38:14 +02:00 committed by Mike Hearn
parent f13c437a54
commit dfc5104d31

View file

@ -34,7 +34,7 @@ import java.util.concurrent.ExecutionException;
import static java.lang.String.format;
/** Takes a URL or bitcoin URI and prints information about the payment request. */
public class PaymentProtocol {
public class PaymentProtocolTool {
public static void main(String[] args) {
if (args.length < 1) {
System.err.println("Provide a bitcoin URI or URL as the argument.");