mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
update libwally to latest version 0.6.9
Also removes a workaround caused by bug in libwally (!95) which has been fixed. Signed-off-by: Lawrence Nahum <lawrence@greenaddress.it>
This commit is contained in:
committed by
Christian Decker
parent
0fc42415c2
commit
a9e71d76b5
@@ -345,8 +345,7 @@ int main(void)
|
|||||||
const struct chainparams *chainparams = chainparams_for_network("bitcoin");
|
const struct chainparams *chainparams = chainparams_for_network("bitcoin");
|
||||||
|
|
||||||
wally_init(0);
|
wally_init(0);
|
||||||
/* FIXME: https://github.com/ElementsProject/libwally-core/issues/95 */
|
secp256k1_ctx = wally_get_secp_context();
|
||||||
secp256k1_ctx = (secp256k1_context *)wally_get_secp_context();
|
|
||||||
setup_tmpctx();
|
setup_tmpctx();
|
||||||
|
|
||||||
feerate_per_kw = tal_arr(tmpctx, u32, NUM_SIDES);
|
feerate_per_kw = tal_arr(tmpctx, u32, NUM_SIDES);
|
||||||
|
|||||||
@@ -149,8 +149,7 @@ void daemon_setup(const char *argv0,
|
|||||||
/* We handle write returning errors! */
|
/* We handle write returning errors! */
|
||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
wally_init(0);
|
wally_init(0);
|
||||||
/* FIXME: https://github.com/ElementsProject/libwally-core/issues/95 */
|
secp256k1_ctx = wally_get_secp_context();
|
||||||
secp256k1_ctx = (secp256k1_context *)wally_get_secp_context();
|
|
||||||
|
|
||||||
setup_tmpctx();
|
setup_tmpctx();
|
||||||
io_poll_override(daemon_poll);
|
io_poll_override(daemon_poll);
|
||||||
|
|||||||
@@ -130,8 +130,7 @@ int main(void)
|
|||||||
const char *badstr;
|
const char *badstr;
|
||||||
|
|
||||||
wally_init(0);
|
wally_init(0);
|
||||||
/* FIXME: https://github.com/ElementsProject/libwally-core/issues/95 */
|
secp256k1_ctx = wally_get_secp_context();
|
||||||
secp256k1_ctx = (secp256k1_context *)wally_get_secp_context();
|
|
||||||
setup_tmpctx();
|
setup_tmpctx();
|
||||||
|
|
||||||
/* BOLT #11:
|
/* BOLT #11:
|
||||||
|
|||||||
@@ -55,8 +55,7 @@ int main(void)
|
|||||||
struct info *baseline, *info;
|
struct info *baseline, *info;
|
||||||
|
|
||||||
wally_init(0);
|
wally_init(0);
|
||||||
/* FIXME: https://github.com/ElementsProject/libwally-core/issues/95 */
|
secp256k1_ctx = wally_get_secp_context();
|
||||||
secp256k1_ctx = (secp256k1_context *)wally_get_secp_context();
|
|
||||||
baseline = new_info(ctx);
|
baseline = new_info(ctx);
|
||||||
assert(derive_basepoints(&baseline->seed, &baseline->funding_pubkey,
|
assert(derive_basepoints(&baseline->seed, &baseline->funding_pubkey,
|
||||||
&baseline->basepoints,
|
&baseline->basepoints,
|
||||||
|
|||||||
@@ -15,8 +15,7 @@ int main(void)
|
|||||||
|
|
||||||
setup_locale();
|
setup_locale();
|
||||||
wally_init(0);
|
wally_init(0);
|
||||||
/* FIXME: https://github.com/ElementsProject/libwally-core/issues/95 */
|
secp256k1_ctx = wally_get_secp_context();
|
||||||
secp256k1_ctx = (secp256k1_context *)wally_get_secp_context();
|
|
||||||
setup_tmpctx();
|
setup_tmpctx();
|
||||||
|
|
||||||
bits = tal_arr(tmpctx, u8, 0);
|
bits = tal_arr(tmpctx, u8, 0);
|
||||||
|
|||||||
2
external/libwally-core
vendored
2
external/libwally-core
vendored
Submodule external/libwally-core updated: f277405649...1b7ce30c8c
@@ -1187,8 +1187,7 @@ int main(void)
|
|||||||
|
|
||||||
setup_tmpctx();
|
setup_tmpctx();
|
||||||
wally_init(0);
|
wally_init(0);
|
||||||
/* FIXME: https://github.com/ElementsProject/libwally-core/issues/95 */
|
secp256k1_ctx = wally_get_secp_context();
|
||||||
secp256k1_ctx = (secp256k1_context *)wally_get_secp_context();
|
|
||||||
ld = tal(tmpctx, struct lightningd);
|
ld = tal(tmpctx, struct lightningd);
|
||||||
ld->config = test_config;
|
ld->config = test_config;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user