poanetwork / poa-popa

DApp for proof of physical address (PoPA) attestation for validators of POA Network
https://popa.poa.network
GNU General Public License v3.0
24 stars 18 forks source link

Avoid decoding empty claim #159

Closed fvictorio closed 6 years ago

fvictorio commented 6 years ago

Closes #157.

Pretty much the same code as in the issue, but I didn't cast the bytes to uint. It's not necessary as far as I know. If there is some reason to do it, we should do it in userAddressConfirmed too for consistency.

phahulin commented 6 years ago

@fvictorio please resolve conflicts.

garatortiz commented 6 years ago

@phahulin solved.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 501


Totals Coverage Status
Change from base Build 499: 0.06%
Covered Lines: 976
Relevant Lines: 1191

💛 - Coveralls