Skip to content

Commit

Permalink
Fix Balance Calculation & Update Version
Browse files Browse the repository at this point in the history
Canoe is still beta
  • Loading branch information
Stormtv committed Jun 24, 2018
1 parent 5dfcc4f commit 04dcb83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ module.exports = function (password) {

api.getBalanceUpToBlock = function (blockHash) {
var sum = bigInt(0)
if (chain.length <= 0) { return sum }
if (chain.length + pendingBlocks.length === 0) { return sum }

var found = blockHash === 0
var blk
Expand Down
2 changes: 1 addition & 1 deletion chrome-app/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "canoe",
"description": "A Secure Nano Wallet",
"version": "0.9.11",
"version": "0.9.12",
"permissions": [
"storage",
"unlimitedStorage",
Expand Down
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="391010" id="io.getcanoe.canoe" ios-CFBundleVersion="0.9.11" version="0.9.11">
<widget android-versionCode="391010" id="io.getcanoe.canoe" ios-CFBundleVersion="0.9.12" version="0.9.12">
<name>Canoe</name>
<description>
Canoe Nano Wallet
Expand Down

0 comments on commit 04dcb83

Please sign in to comment.