mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
Payment channels: clear a static analysis thread safety warning.
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user