Skip to content

Commit

Permalink
Fix ens names and contact (#1810)
Browse files Browse the repository at this point in the history
Currently the wrong pk format was used to query the in-memory contacts,
this commit corrects the behavior.
  • Loading branch information
cammellos authored Jan 23, 2020
1 parent 21c67f7 commit a4f88d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.39.10
0.39.11
2 changes: 1 addition & 1 deletion protocol/messenger.go
Original file line number Diff line number Diff line change
Expand Up @@ -2057,7 +2057,7 @@ func (m *Messenger) VerifyENSNames(rpcEndpoint, contractAddress string, ensDetai
var contacts []*Contact
for _, details := range ensResponse {
if details.Error == nil {
contact, ok := m.allContacts[details.PublicKeyString]
contact, ok := m.allContacts["0x"+details.PublicKeyString]
if !ok {
contact, err = buildContact(details.PublicKey)
if err != nil {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a4f88d0

Please sign in to comment.