mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-04 05:34:37 +00:00
Use sha3 from cljs-web.core
This commit is contained in:
parent
912b780c92
commit
42aa34cfad
@ -349,7 +349,7 @@
|
||||
(dispatch [:save-payout-hash issue-id payout-hash]))))
|
||||
|
||||
(defn sig->method-id [sig]
|
||||
(let [sha3 (.-sha3 js/web3)]
|
||||
(let [sha3 web3/sha3]
|
||||
(apply str (take 10 (sha3 sig)))))
|
||||
|
||||
(defn strip-0x [x]
|
||||
|
Loading…
x
Reference in New Issue
Block a user