mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
gossip: Pass output value to gossipd
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
a8e553098a
commit
5690783148
@ -66,7 +66,7 @@ static void got_txout(struct bitcoind *bitcoind,
|
||||
struct short_channel_id *scid)
|
||||
{
|
||||
const u8 *script;
|
||||
u64 satoshis = 0;
|
||||
u64 satoshis;
|
||||
|
||||
/* output will be NULL if it wasn't found */
|
||||
if (output) {
|
||||
@ -74,6 +74,7 @@ static void got_txout(struct bitcoind *bitcoind,
|
||||
satoshis = output->amount;
|
||||
} else {
|
||||
script = NULL;
|
||||
satoshis = 0;
|
||||
}
|
||||
|
||||
subd_send_msg(
|
||||
|
Loading…
Reference in New Issue
Block a user