mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 08:04:23 +01:00
lightningd and routing: use struct amount_msat.
We use it in route_hop, and paper over it in the JSON APIs. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <ccan/crypto/siphash24/siphash24.h>
|
||||
#include <ccan/htable/htable_type.h>
|
||||
#include <ccan/time/time.h>
|
||||
#include <common/amount.h>
|
||||
#include <gossipd/broadcast.h>
|
||||
#include <gossipd/gossip_constants.h>
|
||||
#include <gossipd/gossip_store.h>
|
||||
@@ -205,7 +206,7 @@ struct route_hop {
|
||||
struct short_channel_id channel_id;
|
||||
int direction;
|
||||
struct pubkey nodeid;
|
||||
u64 amount;
|
||||
struct amount_msat amount;
|
||||
u32 delay;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user