SatoshiPortal / cyphernode

Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
362 stars 68 forks source link

Make getactivewatchesbylabel also return non-xpub watches #271

Open Kexkey opened 2 years ago

Kexkey commented 2 years ago

getactivewatchesbylabel has been written to return pub watches by their label. Since then, labels have been added to the regular non-xpub address watches. But the endpoint still only returns the xpub watches.

Let's make it return all the watches with the provided label.