WIP debugging
This commit is contained in:
parent
f38b02df94
commit
e4a4e556a2
2 changed files with 19 additions and 16 deletions
|
|
@ -224,9 +224,11 @@ function reapOutgoingTx(session, tx) {
|
|||
|
||||
function reapIncomingTx(session, tx) {
|
||||
infoPlugin.checkAddress(tx.toAddress, function(err, status,
|
||||
satoshisReceived) {
|
||||
satoshisReceived, txHash) {
|
||||
if (status === 'notSeen') return;
|
||||
db.addIncomingTx(session, tx, status, satoshisReceived, function(err) {
|
||||
var newTx = _.clone(tx);
|
||||
newTx.txHash = txHash;
|
||||
db.addIncomingTx(session, newTx, status, satoshisReceived, function(err) {
|
||||
if (err) logger.error(err);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue