core-lightning/test/commits/03-fulfill1.script
Rusty Russell 7f90d183da test/test_protocol: simulator for the updated wire-protocol BOLT.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-05-17 13:47:44 +09:30

24 lines
300 B
Plaintext

# Simple test that we can fulfill (remove) an HTLC after fully settled.
A:offer 1
B:recvoffer
A:commit
B:recvcommit
A:recvrevoke
B:commit
A:recvcommit
B:recvrevoke
B:remove 1
B:commit
A:recvremove
A:recvcommit
B:recvrevoke
A:commit
B:recvcommit
A:recvrevoke
echo ***A***
A:dump
echo ***B***
B:dump