forked from Qortal/qortal
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;
|
||||
}
|
||||
|
||||
// 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<>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user