mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-22 20:26:50 +00:00
No need to create a map entry for null foreignBlockchain in TradeOffersWebSocket
This commit is contained in:
@@ -182,8 +182,9 @@ public class TradeOffersWebSocket extends ApiWebSocket implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
// save session's preferred blockchain (if any)
|
||||
sessionBlockchain.put(session, foreignBlockchain);
|
||||
// Save session's preferred blockchain, if given
|
||||
if (foreignBlockchain != null)
|
||||
sessionBlockchain.put(session, foreignBlockchain);
|
||||
|
||||
List<CrossChainOfferSummary> crossChainOfferSummaries = new ArrayList<>();
|
||||
|
||||
|
Reference in New Issue
Block a user