mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-11 17:14:22 +01:00
gossip_control: when searching for a txout, make sure it's not spent!
There's no reason for the db to ever return non-NULL if it's spent. And there's only one caller, for which that is definitely true. Suggested-by: @cdecker Fixes: #1934 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
24c386c086
commit
0855422110
@@ -4,7 +4,6 @@ from utils import wait_for, TIMEOUT, only_one
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import pytest
|
||||
import struct
|
||||
import subprocess
|
||||
import time
|
||||
@@ -865,7 +864,6 @@ def test_gossipwith(node_factory):
|
||||
assert num_msgs == 5
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_gossip_notices_close(node_factory, bitcoind):
|
||||
# We want IO logging so we can replay a channel_announce to l1.
|
||||
l1 = node_factory.get_node(options={'log-level': 'io'})
|
||||
|
||||
Reference in New Issue
Block a user