thehubbleproject / contracts

Smart contracts for OPRHub protocol ✌🏻
12 stars 10 forks source link

Prevent people to create account ID's with same public key #50

Closed vaibhavchellani closed 4 years ago

vaibhavchellani commented 4 years ago

I am not sure if this needs to be prevented at all. But at the moment people are able to get different accountIDs for the same public key, altho it's not possible without actually depositing tokens into Hubble.

vaibhavchellani commented 4 years ago

Not fixing this has an interesting side effect. It allows people to hold one private key and create multiple accounts with different tokens and use the same priv key to sign for all of them.

vaibhavchellani commented 4 years ago

Closing for now.