Error on account consolidation
Closed this issue · 1 comments
pplanel commented
The consolidateAccount
is breaking on BitgoExpress V9.31.0
Environment Details
- OS: buster-slim
- Node Version: node:20
- Yarn Version:
- BitGoJS Version: 9.31.0
- BitGo Environment: testnet
Expected Behavior
Consolidate ttrx wallet with deposit addresses funds
Current Behavior
{
"error": "Cannot read properties of undefined (reading 'failure')",
"message": "Cannot read properties of undefined (reading 'failure')",
"bitgoJsVersion": "19.6.0",
"bitgoExpressVersion": "9.31.0"
}
Logs from container:
10.0.10.28 - local_express [28/Nov/2023:15:41:51 +0000] "POST /api/v2/ttrx/wallet/655cc068d78a5de7f8869fb90d3e316d/consolidateAccount HTTP/1.1" 404 191 "-" "PostmanRuntime/7.35.0"
7
error 500: Cannot read properties of undefined (reading 'failure')
6
TypeError: Cannot read properties of undefined (reading 'failure')
5
at handleV2ConsolidateAccount (/var/bitgo-express/dist/src/clientRoutes.js:663:16)
4
at runMicrotasks (<anonymous>)
3
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2
at async promWrapper (/var/bitgo-express/dist/src/clientRoutes.js:999:28)
Possible Solution
Steps to Reproduce
- Create a TTRX wallet
- Initialize it with TRX
- Create a deposit address
- Fund the deposit address with TRX
- Call endpoint