Skip to content

Commit

Permalink
happy mistake (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
willyfromtheblock authored Dec 5, 2022
1 parent 1a5ad87 commit 55260b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/providers/active_wallets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,9 @@ class ActiveWallets with ChangeNotifier {
String addr;
if (asMap['scriptPubKey']['addresses'].runtimeType == List) {
addr = asMap['scriptPubKey']['addresses'][0];
} else {
addr = asMap['scriptPubKey']['address'];
}
addr = asMap['scriptPubKey']['address'];

if (openWallet.addresses
.firstWhereOrNull((element) => element.address == addr) !=
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: peercoin
description: A new Peercoin wallet.

version: 1.1.0+120
version: 1.1.0+121

environment:
sdk: '>=2.12.0 <3.0.0'
Expand Down

0 comments on commit 55260b5

Please sign in to comment.