peer discovery continue
This commit is contained in:
parent
c3af234b38
commit
7e7ec683df
|
@ -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);
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue