mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-11 05:14:46 +00:00
small cleanup
This commit is contained in:
parent
60618e19bd
commit
b474d90243
2 changed files with 1 additions and 4 deletions
|
@ -45,8 +45,6 @@ abstract class LightningViewModelBase with Store {
|
||||||
description: 'limits',
|
description: 'limits',
|
||||||
);
|
);
|
||||||
final res = await sdk.receivePayment(req: req);
|
final res = await sdk.receivePayment(req: req);
|
||||||
// sdk.
|
return [(res.openingFeeMsat).toString(), '10000'];
|
||||||
// TODO: CW-563 figure out how to get the limits
|
|
||||||
return [(res.openingFeeMsat).toString(), '20000'];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,7 +66,6 @@ abstract class WalletNewVMBase extends WalletCreationVM with Store {
|
||||||
case WalletType.bitcoin:
|
case WalletType.bitcoin:
|
||||||
return bitcoin!.createBitcoinNewWalletCredentials(name: name);
|
return bitcoin!.createBitcoinNewWalletCredentials(name: name);
|
||||||
case WalletType.lightning:
|
case WalletType.lightning:
|
||||||
// return lightning!.createLightningNewWalletCredentials(name: name);// TODO: CW-563 see if necessary
|
|
||||||
return bitcoin!.createBitcoinNewWalletCredentials(name: name);
|
return bitcoin!.createBitcoinNewWalletCredentials(name: name);
|
||||||
case WalletType.litecoin:
|
case WalletType.litecoin:
|
||||||
return bitcoin!.createBitcoinNewWalletCredentials(name: name);
|
return bitcoin!.createBitcoinNewWalletCredentials(name: name);
|
||||||
|
|
Loading…
Reference in a new issue