SiaFoundation / walletd

A new Sia wallet
https://sia.tech/software/walletd
MIT License
14 stars 8 forks source link

Make sure json tags are consistent #37

Closed ChrisSchinnerl closed 7 months ago

ChrisSchinnerl commented 9 months ago

We should check that all our repos use consistent json tags. It seems like we are almost there apart from any field called ID. The field should serialise to id and not IDor iD.

chris124567 commented 9 months ago

Looks like core/types.ChainIndex is the only place where this is the case. I'll do some grepping just to confirm. https://github.com/search?q=org%3ASiaFoundation+%60json%3A%22ID%22%60&type=code&p=1

Edit: Oh, there's yaml tags too. Nevermind!

alexfreska commented 7 months ago

I believe this is now complete.