Removed getWalletTransactions() synchronization. Again, can be re-added later.

This commit is contained in:
CalDescent 2022-02-08 18:27:08 +00:00
parent 9804eccbf0
commit 70c864bc2f

View File

@ -342,7 +342,6 @@ public abstract class Bitcoiny implements ForeignBlockchain {
}
public List<SimpleTransaction> getWalletTransactions(String key58) throws ForeignBlockchainException {
synchronized (this) {
Context.propagate(bitcoinjContext);
Wallet wallet = walletFromDeterministicKey58(key58);
@ -409,7 +408,6 @@ public abstract class Bitcoiny implements ForeignBlockchain {
.map(t -> convertToSimpleTransaction(t, keySet))
.sorted(newestTimestampFirstComparator).collect(Collectors.toList());
}
}
protected SimpleTransaction convertToSimpleTransaction(BitcoinyTransaction t, Set<String> keySet) {
long amount = 0;