File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ interface LightningConstructorOptions {
1515}
1616
1717export class LightningCoin extends BaseCoin {
18- public static readonly DEFAULT_FEATURES = [ CoinFeature . LIGHTNING_MODEL ] ;
18+ public static readonly DEFAULT_FEATURES = [
19+ CoinFeature . LIGHTNING_MODEL ,
20+ CoinFeature . STAKING ,
21+ CoinFeature . CUSTODY ,
22+ CoinFeature . CUSTODY_BITGO_TRUST ,
23+ ] ;
1924
2025 /**
2126 * Additional fields for lightning coins
Original file line number Diff line number Diff line change @@ -922,10 +922,7 @@ coins.forEach((coin, coinName) => {
922922 } else {
923923 it ( 'should return true for CUSTODY and CUSTODY_BITGO_TRUST coin feature' , ( ) => {
924924 const coinSupportsCustody =
925- coin . family !== CoinFamily . LNBTC &&
926- coin . family !== CoinFamily . CELO &&
927- coin . name !== 'ofccelo' &&
928- coin . name !== 'ofctcelo' ;
925+ coin . family !== CoinFamily . CELO && coin . name !== 'ofccelo' && coin . name !== 'ofctcelo' ;
929926 coin . features . includes ( CoinFeature . CUSTODY ) . should . eql ( coinSupportsCustody ) ;
930927 coin . features . includes ( CoinFeature . CUSTODY_BITGO_TRUST ) . should . eql ( coinSupportsCustody ) ;
931928 } ) ;
You can’t perform that action at this time.
0 commit comments