Skip to content

Commit 556b481

Browse files
committed
Channel Backend Test: Check for unequal assets
1 parent d69381b commit 556b481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channel/test/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func buildModifiedStates(s1, s2 *channel.State, modifyApp bool) (ret []channel.S
205205
ret = append(ret, *modState)
206206
}
207207
// Modify Assets
208-
{
208+
if !channel.AssetsEqual(s1.Assets, s2.Assets) {
209209
// Modify complete Assets
210210
{
211211
modState := s1.Clone()

0 commit comments

Comments
 (0)