mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 06:54:30 +01:00
lightningd/channel: send and receive htlc_fulfilled messages.
Includes a fix for the direction we fulfill. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -74,6 +74,12 @@ check "lcli1 getlog debug | $FGREP 'Sending commit_sig with 1 htlc sigs'"
|
||||
check "lcli2 getlog debug | $FGREP 'Resolving invoice '\'testpayment1\'' with HTLC 1'"
|
||||
[ `lcli2 listinvoice testpayment1 | get_field complete` = true ]
|
||||
|
||||
#check "lcli1 getpeers | get_field msatoshi_to_us | $FGREP -w 900000000"
|
||||
#[ `lcli1 getpeers | get_field msatoshi_to_us` = 900000000 ]
|
||||
#[ `lcli1 getpeers | get_field msatoshi_to_them` = 100000000 ]
|
||||
#[ `lcli2 getpeers | get_field msatoshi_to_them` = 900000000 ]
|
||||
#[ `lcli2 getpeers | get_field msatoshi_to_us` = 100000000 ]
|
||||
|
||||
lcli1 stop
|
||||
lcli2 stop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user