Skip to content

Commit

Permalink
1.0.8 (#202)
Browse files Browse the repository at this point in the history
* version bump

* fix tx fee rounding issue

* changelog
  • Loading branch information
willyfromtheblock authored Nov 17, 2022
1 parent 7d37a04 commit a41aa8a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### **1.0.8** (2022-11-17)
* Fix transaction fee rounding issue

### **1.0.7** (2022-11-13)
* New notification API Marisma, also improves scan reliability

Expand Down
2 changes: 1 addition & 1 deletion lib/providers/active_wallets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ class ActiveWallets with ChangeNotifier {
var number = (intermediate.txSize / 1000 * coin.fixedFeePerKb)
.toStringAsFixed(coin.fractions);
var asDouble = double.parse(number) * decimalProduct;
var requiredFeeInSatoshis = asDouble.toInt();
var requiredFeeInSatoshis = asDouble.round();

LoggerWrapper.logInfo(
'ActiveWallets',
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.0.7+116
version: 1.0.8+117

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

0 comments on commit a41aa8a

Please sign in to comment.