ethr-did-resolver
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -208,3 +208,3 @@ 'use strict'; | ||
_context2.next = 7; | ||
return eth.getLogs({ address: registryAddress, fromBlock: previousChange, toBlock: previousChange }); | ||
return eth.getLogs({ address: registryAddress, topics: [null, '0x000000000000000000000000' + identity.slice(2)], fromBlock: previousChange, toBlock: previousChange }); | ||
@@ -211,0 +211,0 @@ case 7: |
{ | ||
"name": "ethr-did-resolver", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Resolve DID documents around ethereum addresses", | ||
@@ -5,0 +5,0 @@ "main": "lib/register.js", |
@@ -136,3 +136,3 @@ import { registerMethod } from 'did-resolver' | ||
while (previousChange) { | ||
const logs = await eth.getLogs({address: registryAddress, fromBlock: previousChange, toBlock: previousChange}) | ||
const logs = await eth.getLogs({address: registryAddress, topics: [null, `0x000000000000000000000000${identity.slice(2)}`], fromBlock: previousChange, toBlock: previousChange}) | ||
const events = logDecoder(logs) | ||
@@ -139,0 +139,0 @@ previousChange = undefined |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
346898