File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import { BitGo , RequestTracer } from 'bitgo' ;
1+ import { BitGo , CustomSigningFunction , RequestTracer } from 'bitgo' ;
22import { EnclavedExpressClient } from './clients/enclavedExpressClient' ;
33
44/**
@@ -56,7 +56,7 @@ export function makeCustomSigningFunction({
5656 enclavedExpressClient : EnclavedExpressClient ;
5757 source : 'user' | 'backup' ;
5858 pub : string ;
59- } ) {
59+ } ) : CustomSigningFunction {
6060 return async function customSigningFunction ( signParams : any ) {
6161 return enclavedExpressClient . signMultisig ( {
6262 txPrebuild : signParams . txPrebuild ,
Original file line number Diff line number Diff line change 11import { RequestTracer , KeyIndices } from '@bitgo/sdk-core' ;
22import logger from '../../../logger' ;
33import { MasterApiSpecRouteRequest } from '../routers/masterApiSpec' ;
4- import { getWalletAndSigningKeychain , makeCustomSigningFunction } from '../../../shared/coinUtils ' ;
4+ import { getWalletAndSigningKeychain , makeCustomSigningFunction } from '../handlerUtils ' ;
55
66export async function handleConsolidate (
77 req : MasterApiSpecRouteRequest < 'v1.wallet.consolidate' , 'post' > ,
You can’t perform that action at this time.
0 commit comments