Catch error when creating new TXP
This commit is contained in:
parent
152ab7aa44
commit
cef93325f4
5 changed files with 35 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue