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:
parent
a76a4f6878
commit
8c23975ad7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue