mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-19 05:44:05 +01:00
Minor changes to satisfy Codacy or clarify why it fails
This commit is contained in:
parent
74c946a28b
commit
daa1b0b20b
@ -87,7 +87,9 @@ public class LocalBitcoinNode {
|
||||
// i.e. is it fine to just always use MainNetParams?
|
||||
var networkParameters = new MainNetParams();
|
||||
|
||||
var context = new Context(networkParameters);
|
||||
// We must construct a BitcoinJ Context before using BitcoinJ.
|
||||
// We don't keep a reference, because it's automatically kept in a thread local storage.
|
||||
new Context(networkParameters);
|
||||
|
||||
var ourVersionMessage = new VersionMessage(networkParameters, 0);
|
||||
|
||||
@ -229,6 +231,7 @@ public class LocalBitcoinNode {
|
||||
peerVersionMessageFuture.set(peer.getPeerVersionMessage());
|
||||
}
|
||||
public void onFailure(Throwable thr) {
|
||||
;
|
||||
}
|
||||
};
|
||||
Futures.addCallback(
|
||||
|
Loading…
Reference in New Issue
Block a user