We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255a86c commit b6b95b1Copy full SHA for b6b95b1
modules/express/src/clientRoutes.ts
@@ -726,9 +726,9 @@ async function handleV2SignTxWallet(req: express.Request) {
726
*/
727
async function handleV2SignTx(req: ExpressApiRouteRequest<'express.v2.coin.signtx', 'post'>) {
728
const bitgo = req.bitgo;
729
- const coin = bitgo.coin(req.params.coin);
+ const coin = bitgo.coin(req.decoded.coin);
730
try {
731
- return await coin.signTransaction(req.body);
+ return await coin.signTransaction(req.decoded);
732
} catch (error) {
733
console.log('error while signing the transaction ', error);
734
throw error;
0 commit comments