mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
fixed whitespace
This commit is contained in:
parent
dc2d83bfbe
commit
ae52977e42
@ -497,7 +497,7 @@ struct bitcoin_tx *pull_bitcoin_tx(const tal_t *ctx,
|
||||
tx->output = tal_arr(tx, struct bitcoin_tx_output, tx->output_count);
|
||||
for (i = 0; i < tx->output_count; i++)
|
||||
pull_output(tx, cursor, max, tx->output + i);
|
||||
|
||||
|
||||
if (flag & SEGREGATED_WITNESS_FLAG) {
|
||||
for (i = 0; i < tx->input_count; i++)
|
||||
pull_witness(tx->input, i, cursor, max);
|
||||
|
@ -157,7 +157,7 @@ void peer_secrets_init(struct peer *peer)
|
||||
|
||||
new_keypair(peer->dstate, &peer->secrets->commit, &peer->local.commitkey);
|
||||
new_keypair(peer->dstate, &peer->secrets->final, &peer->local.finalkey);
|
||||
randombytes_buf(peer->secrets->revocation_seed.u.u8, sizeof(peer->secrets->revocation_seed.u.u8));
|
||||
randombytes_buf(peer->secrets->revocation_seed.u.u8, sizeof(peer->secrets->revocation_seed.u.u8));
|
||||
shachain_init(&peer->their_preimages);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user