peer discovery continue

This commit is contained in:
romanman 2014-05-21 01:14:03 +03:00
parent c3af234b38
commit 7e7ec683df
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ class PayOutDialog extends JDialog {
byte[] gas = Hex.decode("4255"); byte[] gas = Hex.decode("4255");
Transaction tx = new Transaction(null, value.toByteArray(), Transaction tx = new Transaction(null, value.toByteArray(),
receiveAddress.getAddress(), gasPrice, gas, null); gasPrice, gas, receiveAddress.getAddress(), null);
try { try {
tx.sign(senderPrivKey); tx.sign(senderPrivKey);

View File

@ -57,7 +57,7 @@ public class PeerTaster {
// Start the client. // 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) ChannelFuture f = b.connect(host, port).sync(); // (5)
// Wait until the connection is closed. // Wait until the connection is closed.