diff --git a/src/views/OperationTransferComponent.vue b/src/views/OperationTransferComponent.vue index de8d59f4..7a7ff2ef 100644 --- a/src/views/OperationTransferComponent.vue +++ b/src/views/OperationTransferComponent.vue @@ -417,8 +417,6 @@ export default { chainId: this.chainId, } - console.log('tx:', txMsgs) - sign( this.wallet, this.chainId, @@ -427,8 +425,7 @@ export default { txFee, this.memo, signerData, - ).then((bodyBytes, s) => { - console.log('signed: ', bodyBytes, s) + ).then(bodyBytes => { this.$http.broadcastTx(bodyBytes, this.selectedChain).then(res => { setLocalTxHistory({ op: 'send', hash: res.txhash, time: new Date() }) this.$bvModal.hide('transfer-window') diff --git a/src/views/OperationWithdrawComponent.vue b/src/views/OperationWithdrawComponent.vue index 0fe4362e..9513cdeb 100644 --- a/src/views/OperationWithdrawComponent.vue +++ b/src/views/OperationWithdrawComponent.vue @@ -158,7 +158,7 @@ import chainAPI from '@/libs/fetch' import ToastificationContent from '@core/components/toastification/ToastificationContent.vue' export default { - name: 'TransforDialogue', + name: 'WithdrawDialogue', components: { BModal, BRow, @@ -340,8 +340,8 @@ export default { signerData, ).then(bodyBytes => { this.$http.broadcastTx(bodyBytes, this.selectedChain).then(res => { - setLocalTxHistory({ op: 'delegate', hash: res.tx_response.txhash, time: new Date() }) - this.$bvModal.hide('delegate-window') + setLocalTxHistory({ op: 'withdraw', hash: res.tx_response.txhash, time: new Date() }) + this.$bvModal.hide('withdraw-window') this.$toast({ component: ToastificationContent, props: {