fix ens content resolution

Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
andrey 2020-11-16 11:15:30 +01:00
parent 13c81a34b3
commit 61105e15f6
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
1 changed files with 4 additions and 1 deletions

View File

@ -136,7 +136,10 @@
:params [(namehash ens-name)]
:on-success
(fn [hash]
(cb hash))}))
(cb hash))
;;at some point infura started to return execution reverted error instead of "0x" result
;;our code expects "0x" result
:on-error #(cb "0x")}))
(def ABI-hash "0x2203ab56")
(def pubkey-hash "0xc8690233")