mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
tests: Use correct privkey when calculating pubkey used in new_routing_state(...) call
This commit is contained in:
parent
cbe0b2d3a8
commit
d4aadd5e26
@ -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…
Reference in New Issue
Block a user