aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/transactions.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/controllers/transactions.js')
-rw-r--r--app/scripts/controllers/transactions.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index a18a2d2e2..31e53554d 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -187,12 +187,12 @@ module.exports = class TransactionController extends EventEmitter {
// validate
await this.txGasUtil.validateTxParams(txParams)
// construct txMeta
- const txMeta = this.txStateManager.generateTxMeta({txParams})
+ let txMeta = this.txStateManager.generateTxMeta({txParams})
this.addTx(txMeta)
this.emit('newUnapprovedTx', txMeta)
// add default tx params
try {
- await this.addTxDefaults(txMeta)
+ txMeta = await this.addTxDefaults(txMeta)
} catch (error) {
console.log(error)
this.txStateManager.setTxStatusFailed(txMeta.id, error)
@@ -215,6 +215,7 @@ module.exports = class TransactionController extends EventEmitter {
}
txParams.gasPrice = ethUtil.addHexPrefix(gasPrice.toString(16))
txParams.value = txParams.value || '0x0'
+ if (txParams.to === null) delete txParams.to
// set gasLimit
return await this.txGasUtil.analyzeGasUsage(txMeta)
}
commit/?h=EVOLUTION_3_7_3_2&id=97d83eee64ecddb6e8d8d3e82c13b72fb4f668e6'>User Docs: Add hint about dconf-editorAndre Klapper2012-08-161-1/+2 * User Docs: Finally split formatting options into Plain Text and HTMLAndre Klapper2012-08-168-52/+100 * User Docs: Initial rewrite of HTML Composer settingsAndre Klapper2012-08-1611-13/+37 * Bug 681882 - Account signature not selected in new composer windowMatthew Barnes2012-08-161-0/+51 * Fix a wrong translationAndre Klapper2012-08-151-1/+1 * Add e_mail_session_append_to_local_folder().Matthew Barnes2012-08-155-37/+172 * Updated Galician translationsFran Diéguez2012-08-141-1375/+1390 * Bug 681321 - Support both old and new-buf libxml2 APIsMatthew Barnes2012-08-131-1/+18 * Remove GroupWise specific code from itip-formatterMilan Crha2012-08-132-55/+0 * Updated Spanish translationDaniel Mustieles2012-08-131-10050/+9983 * Adapt to CamelService API changes.Matthew Barnes2012-08-136-15/+39 * Adapt to CamelSession API changes.Matthew Barnes2012-08-1218-108/+220 * Adapt to CamelSession forward_to() changes.Matthew Barnes2012-08-121-164/+188 * prefer-plain: Unref objects in dispose(), not finalize().Matthew Barnes2012-08-122-5/+22 * prefer-plain: Cleanups.Matthew Barnes2012-08-122-16/+28 * Update git.mk.Matthew Barnes2012-08-111-33/+53 * Bug 681641 - Port to new documentation infrastructureJavier Jardón2012-08-119-18/+14 * express: Remove clutter-based email tabs.Matthew Barnes2012-08-1133-4409/+1 * Add missing linker flag.Matthew Barnes2012-08-111-0/+1 * Remove the settings capplet.Matthew Barnes2012-08-1122-3299/+1 * e-convert-local-mail.c: Minor cleanups.Matthew Barnes2012-08-111-14/+9 * Avoid using uninitialized variable in e_mail_folder_expunge_sync()Milan Crha2012-08-101-0/+1 * Run mbox-to-Maildir conversion before loading modules.Matthew Barnes2012-08-104-326/+332 * backup-restore: Add version info to evolution.dirs file.Matthew Barnes2012-08-101-8/+54 * Bug #681432 - Runtime warnings from e_mail_display_reload()Dan Vrátil2012-08-101-24/+18 * Bug #680786 - [text-highlight] Prefer Content-Type header over file name exte...Dan Vrátil2012-08-101-14/+18 * Updated Spanish translationDaniel Mustieles2012-08-101-23/+62 * EDayView: Hide tooltip on context menu popupMilan Crha2012-08-101-14/+20 * Bug #676785 - Enables wrong calendar after saving appointmentMilan Crha2012-08-105-14/+16 * Remove some unused code from EMailReaderDan Vrátil2012-08-094-48/+25 * EMailSession: Minor code rearrangement.Matthew Barnes2012-08-091-23/+23 * migrate_mbox_to_maildir(): Fix a reference counting error.Matthew Barnes2012-08-091-2/+3 * em_migrate_session_new(): Provide a user cache directory.Matthew Barnes2012-08-091-1/+8 * User Docs: Link to Network section of Desktop HelpAndre Klapper2012-08-091-3/+2 * Updated Marathi TranslationsSandeep Sheshrao Shedmake2012-08-091-1447/+1048 * Updated Marathi TranslationsSandeep Sheshrao Shedmake2012-08-091-160/+342 * Fix redefinition of EMailPartItip in itip-view.hMilan Crha2012-08-091-3/+5 * Remove all references to JavaScriptCore and use of JavaScriptDan Vrátil2012-08-097-259/+75 * Bug #681400 - Fix build against WebKitGtk+ 1.9.6Dan Vrátil2012-08-082-4/+21 * Revert "User Docs: Add page about automatic marking of messages as read"Matthew Barnes2012-08-081-41/+0 * User Docs: Remove old Save as PDF fileAndre Klapper2012-08-081-33/+0 * User Docs: Rename Save as PDF pageAndre Klapper2012-08-081-0/+33 * User Docs: Add page about automatic marking of messages as readAndre Klapper2012-08-081-0/+41 * User Docs: Add page about saving emails as PDFAndre Klapper2012-08-081-0/+33 * User Docs: Fix a typoAndre Klapper2012-08-081-1/+1 * User Docs: Link to Seahorse User ManualAndre Klapper2012-08-081-2/+2 * User Docs: Add style hints to notesAndre Klapper2012-08-0823-32/+30 * Updated Spanish translationDaniel Mustieles2012-08-081-57/+72 * Return of the "mark messages as read" preference.Matthew Barnes2012-08-082-4/+114 * Bug #680724 - Attachment bar regressionDan Vrátil2012-08-081-6/+0 * Bug #681279 - Reply on selection doesn't workDan Vrátil2012-08-081-19/+70 * Updated Marathi TranslationsSandeep Sheshrao Shedmake2012-08-081-13569/+15585 * Bug #559815 - Empty Reminders editor when opened second timeMilan Crha2012-08-081-1/+15 * Bug #677695 - Crash on quit under emu_free_mail_cache()Milan Crha2012-08-083-100/+116 * Missing "<click here to select a folder>" text in message filter editorMilan Crha2012-08-081-0/+2 * Updated Serbian translationМирослав Николић2012-08-082-68/+74 * Updated Spanish translationDaniel Mustieles2012-08-081-716/+786 * Bug #681318 - Filter by Source account doesn't show accountsMilan Crha2012-08-081-35/+95 * Bug #678408 - Mail view is very small for some mailsMilan Crha2012-08-071-0/+9 * Updated gujarati fileSweta Kothari2012-08-071-943/+725 * Bug #680947 - Multiselect doesn't clear message preview panelDan Vrátil2012-08-071-5/+11 * Fix condition when to collapse addresses in To/Cc/Bcc headersMilan Crha2012-08-071-1/+1 * Updated Traditional Chinese translation(Hong Kong and Taiwan)Chao-Hsiung Liao2012-08-072-1052/+1187 * Updated Greek translationDimitris Spingos2012-08-062-2269/+2221 * Bug #246530 - Rules editor lacks "Label is (not) 'None'"Milan Crha2012-08-067-39/+234 * Bug #681017 - Bogus SMTP port in the account manager UIMilan Crha2012-08-061-0/+7 * Post-release version bump.Matthew Barnes2012-08-061-1/+1 * NEWS update for 3.5.5 release.EVOLUTION_3_5_5Matthew Barnes2012-08-061-0/+55 * Remove all GDK threads usage.Matthew Barnes2012-08-0615-63/+10 * Updated Indonesian translationAndika Triwidada2012-08-051-259/+230 * Updated Indonesian translationAndika Triwidada2012-08-041-2043/+3138 * Update Chinese simplified translation for uituhaihe2012-08-041-11040/+12850 * Updated Serbian translationМирослав Николић2012-08-042-1256/+1408 * configure.ac: Remove nm_minimum_version.Matthew Barnes2012-08-041-1/+0 * e-memo-shell-view-actions.c: Support deleting remote resources.Matthew Barnes2012-08-032-16/+24 * e-task-shell-view-actions.c: Support deleting remote resources.Matthew Barnes2012-08-032-16/+24 * e-cal-shell-view-actions.c: Support deleting remote resources.Matthew Barnes2012-08-032-16/+24 * e-book-shell-view-actions.c: Support deleting remote resources.Matthew Barnes2012-08-032-6/+25 * Add e_shell_view_remote_delete_source().Matthew Barnes2012-08-032-0/+36 * Add e_source_util_remote_delete().Matthew Barnes2012-08-033-0/+90 * e-source-utils.c cleanups.Matthew Barnes2012-08-032-38/+58 * Enable "delete" action for remote-deletable sources.Matthew Barnes2012-08-0312-11/+71 * ESourceConfigDialog: Implement EAlertSink.Matthew Barnes2012-08-031-4/+85 * ESourceConfig: Enable remote resource creation.Matthew Barnes2012-08-031-5/+14 * mail.error.xml: Remove GroupWise-specific errors.Matthew Barnes2012-08-031-5/+0 * calendar.error.xml: Remove GroupWise-specific errors.Matthew Barnes2012-08-031-5/+0 * calendar.error.xml: Fix indentation.Matthew Barnes2012-08-031-301/+301 * addressbook.error.xml: Remove GroupWise-specific errors.Matthew Barnes2012-08-031-11/+0 * addressbook.error.xml: Fix indentation.Matthew Barnes2012-08-031-132/+132 * Remove "modal" attribute from error.xml files.Matthew Barnes2012-08-033-14/+14 * Bug #679726 - Move button for expanding headers behind header labelDan Vrátil2012-08-031-1/+1 * Bug #680331 - Crash when replying to a messageDan Vrátil2012-08-033-6/+24 * Updated Greek help-translationDimitris Spingos2012-08-031-7473/+8157 * Add translator commentsAndre Klapper2012-08-031-0/+3 * Fix my last commitAndre Klapper2012-08-031-1/+1 * Mark default attachment reminder clues as translatable. Hopefully fixes bug #...Andre Klapper2012-08-031-1/+1 * composer: Remove redundant tooltips.Matthew Barnes2012-08-031-17/+0 * Bug 681075 - Add tooltips to signature editor toolbarMichael Wood2012-08-031-2/+2 * Updated gujarati fileSweta Kothari2012-08-021-143/+84 * Bug #680666 - Contacts/Tasks/Memos preview pane does not follow theme colorsDan Vrátil2012-08-026-43/+202 * Make e_color_to_value() use e_rgba_to_value()Milan Crha2012-08-021-11/+10 * Updated gujarati fileSweta Kothari2012-08-021-0/+1 * Updated gujarati fileSweta Kothari2012-08-021-233/+145 * Updated Traditional Chinese translation(Hong Kong and Taiwan)Chao-Hsiung Liao2012-08-022-336/+774 * Fix some memory leaksDan Vrátil2012-08-022-0/+17 * User Docs: Remove browser interaction documentation and link to Desktop Help ...Andre Klapper2012-08-011-6/+22 * Bug #680535 - Reply to message with text attachments formats them inlineDan Vrátil2012-08-011-1/+1 * Bug #680643 - First message Print preview without CSSDan Vrátil2012-07-311-5/+20 * Updated Greek translationTom Tryfonidis2012-07-311-1479/+3504 * Updated Galician translationsFran Diéguez2012-07-311-105/+103 * Updated gujarati fileSweta Kothari2012-07-301-11224/+12926 * Updated Galician translationsFran Diéguez2012-07-301-310/+535 * text-highlight: Add missing linker flags.Matthew Barnes2012-07-281-0/+2 * EWebView: Remove a stray newline causing build failures.Matthew Barnes2012-07-281-2/+1 * Bug #679404 - Read colors for message preview from Gtk themeDan Vrátil2012-07-279-38/+78 * Updated Serbian translationМирослав Николић2012-07-272-16582/+11668 * Updated Spanish translationDaniel Mustieles2012-07-271-217/+440 * Bug #680682 - Segfault after label attempted deletionMilan Crha2012-07-271-10/+6 * Bug #680577 - [text-highlight] - Failed to load partDan Vrátil2012-07-274-4/+12 * Bug #680634 - Missing image attachmentDan Vrátil2012-07-272-9/+20 * Bug #680635 - Inline GPG shown as sourceDan Vrátil2012-07-261-1/+8 * mail.error.xml: Remove "mail:session-message-*" errors.Matthew Barnes2012-07-264-17/+5 * e-system.error.xml: Add some generic errors from mail.error.xml.Matthew Barnes2012-07-261-0/+12 * e-system.error.xml: Fix indentation.Matthew Barnes2012-07-261-14/+14 * Remove unused mail_disconnect_store().Matthew Barnes2012-07-262-61/+0 * action_address_book_new_cb(): Fix a runtime warning.Matthew Barnes2012-07-261-1/+1 * Bug #678635 - File->Send/Receive lists too many sourcesMilan Crha2012-07-251-70/+138 * Updated POTFILES.inPiotr Drąg2012-07-251-1/+3 * Highlighting of text parts and source codesDan Vrátil2012-07-2514-44/+1298 * Updated Greek translationTom Tryfonidis2012-07-251-3892/+2458 * Bug 677635 - Vanished message list with filled preview panelDan Vrátil2012-07-244-4/+15 * Updated Norwegian bokmål translationKjartan Maraas2012-07-231-556/+557 * Updated Lithuanian translationAurimas Černius2012-07-211-6170/+5405 * Fix few more memory leaksMilan Crha2012-07-212-2/+17 * Updated Indonesian translationAndika Triwidada2012-07-201-10610/+10709 * Shorten user names with '@' in Send & Receive window.Matthew Barnes2012-07-201-2/+11 * Bug #680164 - Print Preview action should open preview immediatellyDan Vrátil2012-07-195-16/+20 * G_GNUC_CONST leads to 'statement with no effect' compiler warningMilan Crha2012-07-191-1/+1 * mail-send-recv: Improve presentation.Matthew Barnes2012-07-191-60/+73 * EMailShellBackend: Fix an EAlertSink runtime warning.Matthew Barnes2012-07-191-5/+14 * EMailConfigPage: Add submit() asynchronous method.Matthew Barnes2012-07-193-44/+239 * Remove unused e_date_edit_have_time().Matthew Barnes2012-07-182-20/+0 * EDateEdit cleanups.Matthew Barnes2012-07-182-85/+118 * Bug #680123 - Freeze on message/disposition-notification email parsingDan Vrátil2012-07-184-3/+7 * Bug #679843 - Double free when printingDan Vrátil2012-07-182-29/+31 * Bug #679049 - [itip-formatter] Cannot reply to meeting invitationDan Vrátil2012-07-181-8/+43 * Updated Traditional Chinese translation(Hong Kong and Taiwan)Chao-Hsiung Liao2012-07-182-914/+934 * Use template files to generate GEnumClass types.Matthew Barnes2012-07-1813-76/+236 * Updated Spanish translationDaniel Mustieles2012-07-171-52/+161 * Fixed typo in stringDaniel Mustieles2012-07-171-1/+1 * Disable CompEditor when saving changesMilan Crha2012-07-171-2/+6 * Fix a memory leak in EMailFormatterPrintDan Vrátil2012-07-171-0/+2 * Fix icon size warning in EStockRequestDan Vrátil2012-07-171-6/+5 * Updated Spanish translationDaniel Mustieles2012-07-161-459/+467 * Updated Belarusian translation.Ihar Hrachyshka2012-07-161-49/+49 * Post-release version bump.Matthew Barnes2012-07-161-1/+1 * NEWS update for 3.5.4 release.EVOLUTION_3_5_4Matthew Barnes2012-07-161-0/+88 * Rework handling of GOA mail.Matthew Barnes2012-07-164-1/+121 * mail_session_add_service(): Make display-name binding one-way.Matthew Barnes2012-07-161-1/+0 * EMailAccountStore: Check permissions before writing/removing sources.Matthew Barnes2012-07-161-5/+5 * mail_session_add_from_source(): Warn if backend name is unset.Matthew Barnes2012-07-151-4/+1 * Updated Belarusian translation.Ihar Hrachyshka2012-07-151-2721/+1470 * Updated POTFILES.inPiotr Drąg2012-07-141-0/+1 * Bug #678783 - Crash under e_attachment_set_file_info()Milan Crha2012-07-131-20/+33 * Bug #653529 - Alarm Notification window events list is too smallMilan Crha2012-07-132-288/+319 * Make alarm notifications work againMilan Crha2012-07-131-10/+21 * Bug 679726 - Can't unfold long recipient list in message windowDan Vrátil2012-07-131-8/+5 * Bug 679814 - Calendar invitation shows both calendar and html partDan Vrátil2012-07-131-0/+3 * Bug 679323 - Formatting errors when replying in inline modeDan Vrátil2012-07-131-3/+134 * Don't display SMIME signature as an attachmentDan Vrátil2012-07-121-1/+3 * Fix a slight memory leak.Matthew Barnes2012-07-121-2/+7 * Bug 332115 - Remove Camel module names from Send/Receive windowMatthew Barnes2012-07-121-27/+14 * Update to libgweather 3.5Giovanni Campagna2012-07-122-70/+22 * Bug #349875 - Dragging an email from a vFolder should link to source folderMilan Crha2012-07-121-26/+90 * Bug #223309 - Add "Include Subfolders" to "Search Folder Sources"Milan Crha2012-07-115-99/+340 * Preset timeout on SoupSession-s to 90 secondsMilan Crha2012-07-114-1/+7 * EMailConfigProviderPage: Inherit from EMailConfigActivityPage.Matthew Barnes2012-07-112-118/+7 * EMailConfigServicePage: Inherit from EMailConfigActivityPage.Matthew Barnes2012-07-113-120/+10 * Add EMailConfigActivityPage.Matthew Barnes2012-07-113-0/+252 * Bug #548778 - Use original location when replying in Search FolderMilan Crha2012-07-11