Skip to content

Commit

Permalink
bug fix at issue generic
Browse files Browse the repository at this point in the history
  • Loading branch information
thehobbit85 committed Jun 24, 2015
1 parent 1221381 commit 17d2534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "colu",
"version": "0.2.0",
"version": "0.2.1",
"description": "Colu SDK for node.js developers",
"main": "./src/index.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ Colu.prototype.registerUserByPhonenumber = function (registrationMessage, phonen
Colu.prototype.issueGenericAsset = function (userExtendedKey, assetData, callback) {
var self = this
var user = new User(userExtendedKey)
var accountIndex = self.hdwallet[self.getPublicKey(self.nextAccount - 1)].accountIndex
var accountIndex = self.hdwallet[self.getPublicKey(self.nextAccount - 1).toHex()].accountIndex
return self.ccIssueFinanced(accountIndex, user, assetData, callback)
}

Expand Down

0 comments on commit 17d2534

Please sign in to comment.