File tree Expand file tree Collapse file tree 2 files changed +142
-142
lines changed
wallets/wallet/wallet_mixin_interfaces Expand file tree Collapse file tree 2 files changed +142
-142
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,29 @@ class PaynymAccountLite {
1313 final String nymName;
1414 final String code;
1515 final bool segwit;
16+ final bool taproot;
1617
1718 PaynymAccountLite (
1819 this .nymId,
1920 this .nymName,
2021 this .code,
21- this .segwit,
22- );
22+ this .segwit, {
23+ this .taproot = false ,
24+ });
2325
2426 PaynymAccountLite .fromMap (Map <String , dynamic > map)
2527 : nymId = map["nymId" ] as String ,
2628 nymName = map["nymName" ] as String ,
2729 code = map["code" ] as String ,
28- segwit = map["segwit" ] as bool ;
30+ segwit = map["segwit" ] as bool ,
31+ taproot = map["taproot" ] as bool ? ?? false ;
2932
3033 Map <String , dynamic > toMap () => {
3134 "nymId" : nymId,
3235 "nymName" : nymName,
3336 "code" : code,
3437 "segwit" : segwit,
38+ "taproot" : taproot,
3539 };
3640
3741 @override
You can’t perform that action at this time.
0 commit comments