mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
wallet: Expose wallet_shachain_get_hash to remove warning
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
9c4f075c6e
commit
d912d45af8
@ -182,9 +182,9 @@ bool wallet_shachain_add_hash(struct wallet *wallet,
|
||||
|
||||
/* Simply passes through to shachain_get_hash since it doesn't touch
|
||||
* the DB */
|
||||
static inline bool wallet_shachain_get_hash(struct wallet *w,
|
||||
struct wallet_shachain *chain,
|
||||
u64 index, struct sha256 *hash)
|
||||
inline bool wallet_shachain_get_hash(struct wallet *w,
|
||||
struct wallet_shachain *chain,
|
||||
u64 index, struct sha256 *hash)
|
||||
{
|
||||
return shachain_get_hash(&chain->chain, index, hash);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user