Browse Source

tests: Use correct privkey when calculating pubkey used in new_routing_state(...) call

ppa-0.6.1
practicalswift 7 years ago
committed by Christian Decker
parent
commit
d4aadd5e26
  1. 2
      gossipd/test/run-find_route.c

2
gossipd/test/run-find_route.c

@ -151,9 +151,9 @@ int main(void)
setup_tmpctx();
memset(&tmp, 'a', sizeof(tmp));
pubkey_from_privkey(&tmp, &a);
rstate = new_routing_state(tmpctx, &zerohash, &a, 0);
pubkey_from_privkey(&tmp, &a);
new_node(rstate, &a);
memset(&tmp, 'b', sizeof(tmp));

Loading…
Cancel
Save