ditatompel / xmr-remote-nodes

Source code of https://xmr.ditatompel.com, a website that helps you monitor your favourite Monero remote nodes.
https://xmr.ditatompel.com
Other
11 stars 4 forks source link

refactor: Use `slice.Contains()` nettype check #70

Closed ditatompel closed 3 months ago

ditatompel commented 3 months ago

Instead using || for each nettype query check , simply using slice.Contains. Also, checking any value is not needed here.