File tree Expand file tree Collapse file tree 3 files changed +268
-284
lines changed
Expand file tree Collapse file tree 3 files changed +268
-284
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,8 @@ import {
2121} from '../../../shared/recoveryUtils' ;
2222
2323import { AdvancedWalletManagerClient } from '../clients/advancedWalletManagerClient' ;
24- import {
25- CoinSpecificParams ,
26- CoinSpecificParamsUnion ,
27- MasterApiSpecRouteRequest ,
28- ScriptType2Of3 ,
29- SolanaRecoveryOptions ,
30- } from '../routers/masterBitGoExpressApiSpec' ;
24+ import { MasterApiSpecRouteRequest , ScriptType2Of3 } from '../routers/masterBitGoExpressApiSpec' ;
25+ import { CoinSpecificParams , CoinSpecificParamsUnion } from '../routers/recoveryRoute' ;
3126import { recoverEddsaWallets } from './recoverEddsaWallets' ;
3227import { EnvironmentName , MasterExpressConfig } from '../../../shared/types' ;
3328import { recoverEcdsaMpcV2Params , recoverEcdsaMPCv2Wallets } from './recoverEcdsaWallets' ;
@@ -154,7 +149,7 @@ async function handleEddsaRecovery(
154149 } ;
155150 let unsignedSweepPrebuildTx : Awaited < ReturnType < typeof recoverEddsaWallets > > ;
156151 if ( sdkCoin . getFamily ( ) === CoinFamily . SOL ) {
157- const solanaParams = params . coinSpecificParams as SolanaRecoveryOptions ;
152+ const solanaParams = params . coinSpecificParams as SolRecoveryOptions ;
158153 const solanaRecoveryOptions : SolRecoveryOptions = { ...options } ;
159154 solanaRecoveryOptions . recoveryDestinationAtaAddress =
160155 solanaParams . recoveryDestinationAtaAddress ;
You can’t perform that action at this time.
0 commit comments