Skip to content

Commit

Permalink
Make it clear segwit is not used for the trade protocol yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarguindzberg committed Oct 5, 2020
1 parent e49c565 commit 70340ce
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ public AddressEntry getOrCreateAddressEntry(String offerId, AddressEntry.Context
if (addressEntry.isPresent()) {
return addressEntry.get();
} else {
// We still use non-segwit addresses for the trade protocol.
// We try to use available and not yet used entries
Optional<AddressEntry> emptyAvailableAddressEntry = getAddressEntryListAsImmutableList().stream()
.filter(e -> AddressEntry.Context.AVAILABLE == e.getContext())
Expand Down

0 comments on commit 70340ce

Please sign in to comment.