Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.85k stars 2.02k forks source link

[Bug] Datalayer add_mirror RPC does not return the mirror coin_id. #16856

Open MichaelTaylor3D opened 7 months ago

MichaelTaylor3D commented 7 months ago

What happened?

When using the /add_mirror RPC, it does not return the coin_id of the mirror coin. This makes it difficult to know what coin_id to use to delete the mirror later programmatically. There are ways to figure it out by iterating through the output of /get_mirrors RPC but its pretty inefficient. I filed this as a bug, because this seems like expected return data is missing.

image

Version

2.1.1

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

No response

wjblanke commented 7 months ago

Lets add it!