Closed phahulin closed 6 years ago
(Refactor)
https://github.com/poanetwork/poa-popa/blob/master/blockchain/contracts/ProofOfPhysicalAddress.sol#L127 Add an explicit check that claim is not zero:
claim = registry.getClaim(address(this), wallet, keccakIdentifier); if (0 == claim) return false; return PhysicalAddressClaim.decodeConfirmation(claim) > 0
(Refactor)
proposal (i.e. no new features or updates, just code optimization/library updates)https://github.com/poanetwork/poa-popa/blob/master/blockchain/contracts/ProofOfPhysicalAddress.sol#L127 Add an explicit check that claim is not zero: