File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
modules/abstract-lightning/src/codecs/api Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 11import * as t from 'io-ts' ;
2- import { LightningOnchainRecipient , LightningOnchainRequest , optionalString } from '@bitgo/public-types' ;
2+ import { LightningOnchainRequest , optionalString } from '@bitgo/public-types' ;
33import { PendingApprovalData , TxRequestState } from '@bitgo/sdk-core' ;
4- import { BigIntFromString } from 'io-ts-types' ;
54
65export const WithdrawStatusDelivered = 'delivered' ;
76export const WithdrawStatusFailed = 'failed' ;
87
98export const WithdrawStatus = t . union ( [ t . literal ( WithdrawStatusDelivered ) , t . literal ( WithdrawStatusFailed ) ] ) ;
109
11- // todo: import LightningOnchainRequest from public-types after it is published
1210export const LightningOnchainWithdrawParams = t . intersection ( [
13- // LightningOnchainRequest,
11+ LightningOnchainRequest ,
1412 t . type ( {
15- recipients : t . array ( LightningOnchainRecipient ) ,
16- satsPerVbyte : BigIntFromString ,
1713 passphrase : t . string ,
1814 } ) ,
1915 t . partial ( {
You can’t perform that action at this time.
0 commit comments