mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-04-04 13:27:35 +00:00
refactor _multisigConfig to getMultisigConfig for SWB purposes
This commit is contained in:
parent
cce94676a6
commit
0f73f76216
1 changed files with 3 additions and 2 deletions
|
@ -930,7 +930,8 @@ class BitcoinFrostWallet<T extends FrostCurrency> extends Wallet<T> {
|
|||
key: "{$walletId}_serializedFROSTKeysPrevGen",
|
||||
);
|
||||
|
||||
Future<String?> _multisigConfig() async => await secureStorageInterface.read(
|
||||
Future<String?> getMultisigConfig() async =>
|
||||
await secureStorageInterface.read(
|
||||
key: "{$walletId}_multisigConfig",
|
||||
);
|
||||
|
||||
|
@ -942,7 +943,7 @@ class BitcoinFrostWallet<T extends FrostCurrency> extends Wallet<T> {
|
|||
Future<void> _saveMultisigConfig(
|
||||
String multisigConfig,
|
||||
) async {
|
||||
final current = await _multisigConfig();
|
||||
final current = await getMultisigConfig();
|
||||
|
||||
if (current == null) {
|
||||
// do nothing
|
||||
|
|
Loading…
Reference in a new issue