diff --git a/src/new/sendTransaction.ts b/src/new/sendTransaction.ts index f24779c18..fd3f004e2 100644 --- a/src/new/sendTransaction.ts +++ b/src/new/sendTransaction.ts @@ -54,7 +54,7 @@ export function isDataOutput(output: ISendOutput): output is ISendDataOutput { } export interface ISendTokenOutput { - type: OutputType.P2PKH | OutputType.P2SH; + type: OutputType.P2PKH | OutputType.P2SH; // XXX: This type is ignored in the only place it is used address: string; value: OutputValueType; token: string; @@ -506,7 +506,7 @@ export default class SendTransaction extends EventEmitter { // This just returns if the transaction is not a CREATE_TOKEN_TX await addCreatedTokenFromTx(transaction as CreateTokenTransaction, storage); // Add new transaction to the wallet's storage. - wallet.enqueueOnNewTx({ history: historyTx }); + wallet.enqueueOnNewTx({ type: '', history: historyTx }); // FIXME: Add a type here })(this.wallet, this.storage, this.transaction); } this.emit('send-tx-success', this.transaction);