mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Payment channels: clear a static analysis thread safety warning.
This commit is contained in:
parent
8dcead3508
commit
44944a62d0
@ -126,7 +126,7 @@ public class PaymentChannelClientState {
|
||||
/**
|
||||
* Returns true if the tx is a valid settlement transaction.
|
||||
*/
|
||||
public boolean isSettlementTransaction(Transaction tx) {
|
||||
public synchronized boolean isSettlementTransaction(Transaction tx) {
|
||||
try {
|
||||
tx.verify();
|
||||
tx.getInput(0).verify(multisigContract.getOutput(0));
|
||||
|
Loading…
Reference in New Issue
Block a user