Make the AccountID be a hash of the public address instead of directly being the public address
rfornea opened this issue · 2 comments
rfornea commented
Modify routes/verification_utils.go
's returnAccountID method. Instead of returning the public address without the 0x prefix, let's return a hash of the public address. We can use the utils.Hash()
method and then hex.EncodeToString
. We will also need to modify the models/accounts.go
file to change the length restrictions for accountID from 40 back to 64, and fix a bunch of unit tests that will inevitably be broken.
pzhao5 commented
This is done, right?