Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix sending in labelsmode

  • Loading branch information...
commit 5ca3d87f6442e2bb822bae1ccd3138de60aeec27 1 parent ee9922e
tcatm authored

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 bitcoin.js
5 bitcoin.js
@@ -125,7 +125,10 @@ function Bitcoin() {
125 125 }
126 126
127 127 this.sendBTC = function(callback, context, callback_context) {
128   - this.RPC("sendfrom", [this.settings.account, context.address, context.amount, 1 /*minconf*/, context.comment, context.payee], callback, callback_context);
  128 + var account = this.settings.account;
  129 + if (account == "*")
  130 + account = "";
  131 + this.RPC("sendfrom", [account, context.address, context.amount, 1 /*minconf*/, context.comment, context.payee], callback, callback_context);
129 132 }
130 133
131 134 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.