]> git.bitcoin.ninja Git - rust-lightning/commit
Add assertion since we now have a pub field that is PartialEq
authorMatt Corallo <git@bluematt.me>
Tue, 12 May 2020 01:08:35 +0000 (21:08 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 12 May 2020 18:02:40 +0000 (14:02 -0400)
commit94df32b108db0b95d9ab0e0abd212b956f18bc13
tree4ec9da8da789d96c69bfb701ec7a74dd763fbbc9
parent57ac2ec1b63ceab6d763eedcb65ec5983e509195
Add assertion since we now have a pub field that is PartialEq

We previously were only able to assert that the route graph
serialization roundtrips were good by comparing the network
messages returned from them, but we can now do better as the graph
is exposed publicly via a simple datastructure that implements
PartialEq.
lightning/src/ln/functional_test_utils.rs