mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
onchaind: Pass genesis hash to onchaind so it knows the chainparams
It'll be creating quite a few transactions and we will have to know which params to use. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
d0708a483a
commit
9f3922344b
@ -2662,6 +2662,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
tx->chainparams = chainparams_by_chainhash(&chain_hash);
|
||||
is_elements = tx->chainparams->is_elements;
|
||||
|
||||
status_debug("feerate_per_kw = %u", feerate_per_kw);
|
||||
bitcoin_txid(tx, &txid);
|
||||
|
Loading…
Reference in New Issue
Block a user