Skip to content
Browse files

fix sending in labelsmode

  • Loading branch information...
1 parent ee9922e commit 5ca3d87f6442e2bb822bae1ccd3138de60aeec27 tcatm committed Feb 21, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 bitcoin.js
View
5 bitcoin.js
@@ -125,7 +125,10 @@ function Bitcoin() {
}
this.sendBTC = function(callback, context, callback_context) {
- this.RPC("sendfrom", [this.settings.account, context.address, context.amount, 1 /*minconf*/, context.comment, context.payee], callback, callback_context);
+ var account = this.settings.account;
+ if (account == "*")
+ account = "";
+ this.RPC("sendfrom", [account, context.address, context.amount, 1 /*minconf*/, context.comment, context.payee], callback, callback_context);
}
this.createAccount = function(callback, account, context) {

0 comments on commit 5ca3d87

Please sign in to comment.
Something went wrong with that request. Please try again.