From a79031bb6f8555e344d939524f908e221297e7d1 Mon Sep 17 00:00:00 2001 From: narekpetrosyan Date: Mon, 23 Dec 2024 14:18:48 +0400 Subject: [PATCH] fix: remove spark stuff from Firo testnet --- .../extension/src/libs/spark-handler/index.ts | 4 ++-- .../bitcoin/ui/send-transaction/index.vue | 6 +----- .../tabs/transparent-send-tab.vue | 11 +++++++++++ packages/extension/src/ui/action/App.vue | 10 ++-------- .../index.vue | 17 ++++++++++++++++- 5 files changed, 32 insertions(+), 16 deletions(-) diff --git a/packages/extension/src/libs/spark-handler/index.ts b/packages/extension/src/libs/spark-handler/index.ts index aba753e4..686b20a4 100644 --- a/packages/extension/src/libs/spark-handler/index.ts +++ b/packages/extension/src/libs/spark-handler/index.ts @@ -31,8 +31,8 @@ export async function sendFromSparkAddress( to: string, amount: string, subtractFee = false -) { - return await callRPC("spendspark", [ +): Promise { + return await callRPC("spendspark", [ { [to]: { amount: Number(amount), diff --git a/packages/extension/src/providers/bitcoin/ui/send-transaction/index.vue b/packages/extension/src/providers/bitcoin/ui/send-transaction/index.vue index 034b9706..c9a35d3d 100644 --- a/packages/extension/src/providers/bitcoin/ui/send-transaction/index.vue +++ b/packages/extension/src/providers/bitcoin/ui/send-transaction/index.vue @@ -9,11 +9,7 @@ />