Skip to content

Commit

Permalink
log err of sendtoaddress
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofbyteball committed Nov 24, 2017
1 parent 877a9c4 commit 0b26222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play/rpc_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function initRPC() {
if (amount && toAddress) {
if (validationUtils.isValidAddress(toAddress))
headlessWallet.issueChangeAddressAndSendPayment(null, amount, toAddress, null, function(err, unit) {
console.log('sendtoaddress '+JSON.stringify(args)+' took '+(Date.now()-start_time)+'ms');
console.log('sendtoaddress '+JSON.stringify(args)+' took '+(Date.now()-start_time)+'ms, unit='+unit+', err='+err);
cb(err, err ? undefined : unit);
});
else
Expand Down

0 comments on commit 0b26222

Please sign in to comment.