lnwallet: assert that no chan sync is needed before updates in TestChanSyncFullySynced

This commit is contained in:
Olaoluwa Osuntokun committed 2017-11-16 20:00:05 -08:00
1 parent 94ffb07b90
commit 6cd210041d
1 file changed
+4
+4
View File
@@ -2427,6 +2427,10 @@ func TestChanSyncFullySynced(t *testing.T) {
}
defer cleanUp()
// If we exchange channel sync messages from the get-go , then both
// sides should conclude that no further synchronization is needed.
assertNoChanSyncNeeded(t, aliceChannel, bobChannel)
// Next, we'll create an HTLC for Alice to extend to Bob.
var paymentPreimage [32]byte
copy(paymentPreimage[:], bytes.Repeat([]byte{1}, 32))