From 9f3d1f866ea0d236b270940ddb095cf2e1545221 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Fri, 15 May 2026 10:08:28 -0700 Subject: [PATCH] fix(deseralizeTx): Updating URL for web service --- config/env/common.js | 2 +- src/adapters/wallet.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/env/common.js b/config/env/common.js index 448f1bf..582bcd0 100644 --- a/config/env/common.js +++ b/config/env/common.js @@ -80,7 +80,7 @@ export default { ? ( process.env.APISERVER ? process.env.APISERVER - : 'https://api.fullstack.cash/v5/' + : 'https://bch.fullstack.cash/v6/' ) : 'https://free-bch.fullstack.cash/', diff --git a/src/adapters/wallet.js b/src/adapters/wallet.js index e3467de..d3fcd6c 100644 --- a/src/adapters/wallet.js +++ b/src/adapters/wallet.js @@ -468,8 +468,9 @@ class WalletAdapter { } // Ensure the URL points at FullStack.cash, since the web 3 infra does not // yet support this call. + // TODO: Remove this once the web 3 infra supports this call. const oldUrl = this.bchWallet.bchjs.RawTransactions.restURL - this.bchWallet.bchjs.RawTransactions.restURL = 'https://api.fullstack.cash/v5/' + this.bchWallet.bchjs.RawTransactions.restURL = 'https://bch.fullstack.cash/v6/' // Use a full node to deserialize the transaction. const txObj2 = await this.bchWallet.bchjs.RawTransactions.decodeRawTransaction(txHex)