Do not use naked-address when hashing messages prior to Keycard signing

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
This commit is contained in:
Vitaliy Vlasov 2020-02-18 19:43:53 +02:00
parent a76a4f6878
commit 8c23975ad7
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
(if typed? (if typed?
{::hash-typed-data {:data data {::hash-typed-data {:data data
:on-completed #(re-frame/dispatch [:signing.keycard.callback/hash-message-completed %])}} :on-completed #(re-frame/dispatch [:signing.keycard.callback/hash-message-completed %])}}
{::hash-message {:message (ethereum/naked-address data) {::hash-message {:message data
:on-completed #(re-frame/dispatch [:signing.keycard.callback/hash-message-completed %])}})) :on-completed #(re-frame/dispatch [:signing.keycard.callback/hash-message-completed %])}}))
(fx/defn hash-message-completed (fx/defn hash-message-completed