bug #5568 - correctly passing gasPrice param
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
parent
b0a514a427
commit
9ddcbe863a
|
@ -89,7 +89,7 @@
|
|||
:to (ethereum/normalized-address to)
|
||||
:value (ethereum/int->hex amount)
|
||||
:gas (ethereum/int->hex gas)
|
||||
:gas-price (ethereum/int->hex gas-price)}
|
||||
:gasPrice (ethereum/int->hex gas-price)}
|
||||
data
|
||||
(assoc :data data)
|
||||
nonce
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
(security/unmask masked-password)
|
||||
on-completed))
|
||||
|
||||
(defn- send-tokens [symbol chain {:keys [from to value gas gas-price]} on-completed masked-password]
|
||||
(defn- send-tokens [symbol chain {:keys [from to value gas gasPrice]} on-completed masked-password]
|
||||
(let [contract (:address (tokens/symbol->token (keyword chain) symbol))]
|
||||
(erc20/transfer contract from to value gas gas-price masked-password on-completed)))
|
||||
(erc20/transfer contract from to value gas gasPrice masked-password on-completed)))
|
||||
|
||||
(re-frame/reg-fx
|
||||
::send-transaction
|
||||
|
|
Loading…
Reference in New Issue