Skip to content

Commit

Permalink
Fix inconsistent type naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
caedesvvv committed Oct 25, 2014
1 parent 60307b0 commit 3eb110c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion html/wallet/actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h5>{{'Move funds'|_}}</h5>
<ul id="pockets" class="f-dropdown">
<li class="colorhead"><h6>{{'My pockets'|_}}</h6></li>
<li ng-show="aPocket && $index != pocket.index" ng-repeat="aPocket in hdPockets track by $index">
<a ng-click="moveFunds('pocket', $index)">{{aPocket.name}}</a>
<a ng-click="moveFunds('hd', $index)">{{aPocket.name}}</a>
</li>
<li class="colorhead"><h6>{{'Multisig funds'|_}}</h6></li>
<li ng-repeat="fund in allFunds track by $index">
Expand Down
3 changes: 0 additions & 3 deletions js/frontend/controllers/pocketaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ define(['./module', 'darkwallet', 'sjcl'], function (controllers, DarkWallet) {
var wallet = identity.wallet;
var to;
var address;
if (type === 'pocket') {
type = 'hd';
}
// generate a destination address
var pocket = wallet.pockets.getPocket(index, type);
if (pocket) {
Expand Down

0 comments on commit 3eb110c

Please sign in to comment.