Catch error when creating new TXP

This commit is contained in:
Ivan Socolsky 2014-09-08 16:37:33 -03:00
commit cef93325f4
5 changed files with 35 additions and 2 deletions

View file

@ -46,7 +46,7 @@ var FakeWallet = function() {
FakeWallet.prototype.createTx = function(toAddress, amountSatStr, comment, opts, cb) {
var callback = cb || opts;
callback({});
callback(null, {});
}
FakeWallet.prototype.sendTx = function(ntxid, cb) {