diff --git a/src/status_im/signing/core.cljs b/src/status_im/signing/core.cljs index 46217cf35a..4de7765c1f 100644 --- a/src/status_im/signing/core.cljs +++ b/src/status_im/signing/core.cljs @@ -232,7 +232,9 @@ {:events [:sign/send-transaction-message]} [cofx chat-id value contract transaction-hash signature] {::json-rpc/call [{:method (json-rpc/call-ext-method "sendTransaction") - :params [chat-id value contract transaction-hash + ;; We make sure `value` is serialized as string, and not + ;; as an integer or big-int + :params [chat-id (str value) contract transaction-hash (or (:result (types/json->clj signature)) (ethereum/normalized-hex signature))] :on-success @@ -512,4 +514,4 @@ (when (and from nonce) (sign cofx {:tx-obj (-> tx (select-keys [:from :to :value :input :gas :nonce :hash]) - (clojure.set/rename-keys {:input :data}))}))) \ No newline at end of file + (clojure.set/rename-keys {:input :data}))})))