mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
lightningd: simple wallet support.
This allows us to add funds via the P2SH-wrapped Segwit Transactions. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -308,6 +308,12 @@ all_ok()
|
||||
exit 0
|
||||
}
|
||||
|
||||
# If result is in quotes, those are stripped. Spaces in quotes not handled
|
||||
get_field()
|
||||
{
|
||||
tr -s '\012\011" ' ' ' | sed 's/.* '$1' : \([^, }]*\).*/\1/'
|
||||
}
|
||||
|
||||
# If result is in quotes, those are stripped. Spaces in quotes not handled
|
||||
get_info_field()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user