wait until the new order shows status created in console
reconnect to the network
use dxgetorder with the order ID created in step 2 to verify order status
Error result: XBridge error: order may be stuck, trying to submit order to previous snode
The error keeps looping and never seems to find a snode to submit the order to.
Expected behaviour: the order should be placed once xbridge is reconnected to the network, transitioning from new to created.
To do:
[x] investigate and debug the function checkAndRelayPendingOrders which seems to be related to the issue
[x] add more logging if required
2021-Jul-14 14:16:35 [0x0x309a9b000] {"orderid":"38cc1fb72917327bf45ad7c6eebe994d8c353ed3b611b58aef8a0df5ebad3904","from_currency":"LTC","to_currency":"BLOCK","function":"checkAndRelayPendingOrders","msg":"order may be stuck, trying to submit order to previous snode"}
STR:
dxmakepartialorder
(see https://api.blocknet.co/#dxmakepartialorder)created
in consoledxgetorder
with the order ID created in step 2 to verify order statusError result: XBridge error: order may be stuck, trying to submit order to previous snode
The error keeps looping and never seems to find a snode to submit the order to.
Expected behaviour: the order should be placed once xbridge is reconnected to the network, transitioning from
new
tocreated
.To do: