mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Redefine txmeta when submitting.
This commit is contained in:
parent
53a88b319b
commit
d61b587f30
@ -76,6 +76,7 @@ PendingTx.prototype.render = function () {
|
|||||||
|
|
||||||
h('form#pending-tx-form', {
|
h('form#pending-tx-form', {
|
||||||
onSubmit: (event) => {
|
onSubmit: (event) => {
|
||||||
|
const txMeta = this.gatherTxMeta()
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
const form = document.querySelector('form#pending-tx-form')
|
const form = document.querySelector('form#pending-tx-form')
|
||||||
const valid = form.checkValidity()
|
const valid = form.checkValidity()
|
||||||
@ -418,4 +419,3 @@ function forwardCarrat () {
|
|||||||
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user