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