Browse Source

wallet: Also track confirmations of their_unilateral/to_us outpoints

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
committed by Rusty Russell
parent
commit
27db2d4ce2
  1. 2
      lightningd/onchain_control.c

2
lightningd/onchain_control.c

@ -236,7 +236,7 @@ static void onchain_add_utxo(struct channel *channel, const u8 *msg)
fatal("onchaind gave invalid add_utxo message: %s", tal_hex(msg, msg));
}
outpointfilter_add(channel->peer->ld->wallet->owned_outpoints, &u->txid, u->outnum);
wallet_add_utxo(channel->peer->ld->wallet, u, p2wpkh);
}

Loading…
Cancel
Save