fix: don't parse v signature component, as status-go expects 01/02 (#21589)

This commit is contained in:
Lungu Cristian 2024-11-19 12:27:22 +02:00 committed by GitHub
parent e59b782b86
commit 08c97b078a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
[tx-hash signature] [tx-hash signature]
{tx-hash {:r (subs signature 0 64) {tx-hash {:r (subs signature 0 64)
:s (subs signature 64 128) :s (subs signature 64 128)
:v (str (js/parseInt (subs signature 128 130) 16))}}) :v (subs signature 128 130)}})
(rf/reg-event-fx :keycard/sign (rf/reg-event-fx :keycard/sign
(fn [_ [data]] (fn [_ [data]]