Browse Source

remove trailing space in logline and small coding style fix

connected_hook
Simon Vrouwe 6 years ago
committed by Christian Decker
parent
commit
872c0c90b9
  1. 6
      wallet/wallet.c

6
wallet/wallet.c

@ -1129,14 +1129,14 @@ int wallet_extract_owned_outputs(struct wallet *w, const struct bitcoin_tx *tx,
utxo->outnum = output;
utxo->close_info = NULL;
utxo->blockheight = blockheight?blockheight:NULL;
utxo->blockheight = blockheight ? blockheight : NULL;
utxo->spendheight = NULL;
log_debug(w->log, "Owning output %zu %"PRIu64" (%s) txid %s %s",
log_debug(w->log, "Owning output %zu %"PRIu64" (%s) txid %s%s",
output, tx->output[output].amount,
is_p2sh ? "P2SH" : "SEGWIT",
type_to_string(tmpctx, struct bitcoin_txid,
&utxo->txid), blockheight ? "CONFIRMED" : "");
&utxo->txid), blockheight ? " CONFIRMED" : "");
if (!wallet_add_utxo(w, utxo, is_p2sh ? p2sh_wpkh : our_change)) {
/* In case we already know the output, make

Loading…
Cancel
Save