Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
fixed signing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kendricktan committed Dec 1, 2017
1 parent b93a78e commit c488920
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
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 id="io.zensystem.zencashwallet" version="0.0.11" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget id="io.zensystem.zencashwallet" version="0.0.12" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>ZEN Wallet</name>
<description>
ZEN Wallet
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zencash-mobile",
"version": "0.0.11",
"version": "0.0.12",
"description": "Mobile Wallet for ZENCash",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/containers/SendPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ class SendPage extends React.Component {

// Sign each history transcation
for (var j = 0; j < history.length; j++) {
txObj = zencashjs.transaction.signTx(txObj, i, senderPrivateKey, true)
txObj = zencashjs.transaction.signTx(txObj, j, senderPrivateKey, true)
}

// Convert it to hex string
Expand Down
6 changes: 3 additions & 3 deletions src/containers/SetupPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class SetupPage extends React.Component {
this.handleLoadWallet = this.handleLoadWallet.bind(this)
this.handleNewWallet = this.handleNewWallet.bind(this)
}
componentDidMount() {

componentDidMount () {
window.ga.trackView('Setup Page')
}

handleNewWallet () {
// generate random phrase
// generate random phrase
var randomPhrase = []

// Want 9 words
Expand Down
4 changes: 2 additions & 2 deletions www/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -145972,7 +145972,7 @@ var SendPage = function (_React$Component) {

// Sign each history transcation
for (var j = 0; j < history.length; j++) {
txObj = _zencashjs2.default.transaction.signTx(txObj, i, senderPrivateKey, true);
txObj = _zencashjs2.default.transaction.signTx(txObj, j, senderPrivateKey, true);
}

// Convert it to hex string
Expand Down Expand Up @@ -148171,7 +148171,7 @@ var SetupPage = function (_React$Component) {
}, {
key: 'handleNewWallet',
value: function handleNewWallet() {
// generate random phrase
// generate random phrase
var randomPhrase = [];

// Want 9 words
Expand Down
2 changes: 1 addition & 1 deletion www/bundle.js.map

Large diffs are not rendered by default.

0 comments on commit c488920

Please sign in to comment.