Skip to content

Maker order doesn't disappear from orderbook after fullfill #1187

@tonymorony

Description

@tonymorony

API version (latest published release), OS Ubuntu:

curl --url "http://127.0.0.1:7783" --data "{
>   \"method\":\"version\",
>   \"userpass\":\"$userpass\"
> }"
{"result":"2.1.5182_mm2.1_0fea16d6b_Linux_Release","datetime":"2021-12-29T19:27:20+07:00"}
  1. I've placed an order:
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"setprice\",\"base\":\"KMD\",\"rel\":\"TKL\",\"price\":\"12.4\",\"max\":true}"
{"result":{"base":"KMD","rel":"TKL","price":"12.4","price_rat":[[1,[62]],[1,[5]]],"max_base_vol":"217.40887888","max_base_vol_rat":[[1,[1358805493]],[1,[6250000]]],"min_base_vol":"0.0001","min_base_vol_rat":[[1,[1]],[1,[10000]]],"created_at":1641316167871,"updated_at":1641316167871,"matches":{},"started_swaps":[],"uuid":"3f3f4394-374a-40e7-978a-bac0360fb31f","conf_settings":{"base_confs":2,"base_nota":true,"rel_confs":2,"rel_nota":true},"base_orderbook_ticker":null,"rel_orderbook_ticker":null}}
  1. It was fully filled and the trade successfully finished. swap status on my node: https://0bin.net/paste/TxrOHXso#nULc2l0yudaW2WCwbN1Q6rrob8yCMC2JvoW+xTGQdXm

  2. At the moment of writing order has not disappeared from order books globally and volume remained the same (added screenshot for simplicity and since it's 3rd party node, also checked order book call on my and other nodes and it's here)

Screenshot 2022-01-05 at 02 13 28

orderbook call output: https://transfer.sh/MdfpJS/tkl_orderbook.json

there is nothing in my orders

curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"my_orders\"}"
{"result":{"maker_orders":{},"taker_orders":{}}}

but order detecting as is_mine in orderbook call output (full output can be found by transfer.sh link above)

      "uuid": "3f3f4394-374a-40e7-978a-bac0360fb31f",
      "is_mine": true,
      "base_max_volume": "217.40887888"

my balance after the swap is almost 0:

image

according to stdout swap started/finished just fine:

| (63:43) [swap uuid=12aafd7e-c0e7-481e-a01c-522f1e0e8292] Taker payment send wait confirm started...
04 18:56:17, coins:rpc_clients:150] INFO Waiting for tx 3b0ced01167fe0c5d010940c2dd4780c0a8b43004b9b9fe3e4bcad6bbbbd0be6
 confirmations, now 0, required 1, requires_notarization false
04 18:56:32, coins:rpc_clients:150] INFO Waiting for tx 3b0ced01167fe0c5d010940c2dd4780c0a8b43004b9b9fe3e4bcad6bbbbd0be6
 confirmations, now 0, required 1, requires_notarization false
+--- 04 18:56:38 -------
| (64:07) [swap uuid=12aafd7e-c0e7-481e-a01c-522f1e0e8292] Taker payment send wait confirm started...
04 18:56:47, coins:rpc_clients:150] INFO Waiting for tx 3b0ced01167fe0c5d010940c2dd4780c0a8b43004b9b9fe3e4bcad6bbbbd0be6
 confirmations, now 0, required 1, requires_notarization false
· 2022-01-04 19:57:02 +0100 [swap uuid=12aafd7e-c0e7-481e-a01c-522f1e0e8292] Finished

I'll try to isolate tomorrow:

a) if it happens with max true flag only or not
b) maybe it's related to the fact that I had opened GUI with the same pubkey (but without any orders placed on another PC)?

@cipig @smk762 could you please also have a look?

CC [ @sergeyboyko0791 @shamardy ]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions