mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
common/onion: split into decode and encode routines.
Some places (e.g. the pay plugin) only need to construct onions, not decode them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
c5656ec90a
commit
8720bbedae
@@ -2,7 +2,7 @@
|
||||
#include <assert.h>
|
||||
|
||||
#include <ccan/mem/mem.h>
|
||||
#include <common/onion.h>
|
||||
#include <common/onion_decode.h>
|
||||
#include <common/onionreply.h>
|
||||
#include <common/overflows.h>
|
||||
#include <common/sphinx.h>
|
||||
|
||||
Reference in New Issue
Block a user