From 7e7ec683df47aa3d4f6be5c2c8a0a526bd888d56 Mon Sep 17 00:00:00 2001 From: romanman Date: Wed, 21 May 2014 01:14:03 +0300 Subject: [PATCH] peer discovery continue --- ethereumj-core/src/main/java/org/ethereum/gui/PayOutDialog.java | 2 +- .../src/main/java/org/ethereum/net/client/PeerTaster.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethereumj-core/src/main/java/org/ethereum/gui/PayOutDialog.java b/ethereumj-core/src/main/java/org/ethereum/gui/PayOutDialog.java index e41e3931..d3728dcb 100644 --- a/ethereumj-core/src/main/java/org/ethereum/gui/PayOutDialog.java +++ b/ethereumj-core/src/main/java/org/ethereum/gui/PayOutDialog.java @@ -71,7 +71,7 @@ class PayOutDialog extends JDialog { byte[] gas = Hex.decode("4255"); Transaction tx = new Transaction(null, value.toByteArray(), - receiveAddress.getAddress(), gasPrice, gas, null); + gasPrice, gas, receiveAddress.getAddress(), null); try { tx.sign(senderPrivKey); diff --git a/ethereumj-core/src/main/java/org/ethereum/net/client/PeerTaster.java b/ethereumj-core/src/main/java/org/ethereum/net/client/PeerTaster.java index 94131444..4c1f0386 100644 --- a/ethereumj-core/src/main/java/org/ethereum/net/client/PeerTaster.java +++ b/ethereumj-core/src/main/java/org/ethereum/net/client/PeerTaster.java @@ -57,7 +57,7 @@ public class PeerTaster { // Start the client. - b.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 5); +// b.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 15); ChannelFuture f = b.connect(host, port).sync(); // (5) // Wait until the connection is closed.