mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-17 02:47:51 +01:00
Minor fix in test code
This commit is contained in:
@@ -60,11 +60,11 @@ func TestBlockEncoding(t *testing.T) {
|
|||||||
case BlockRecordFile:
|
case BlockRecordFile:
|
||||||
printFile(record)
|
printFile(record)
|
||||||
|
|
||||||
case BlockRecordProfile:
|
case []BlockRecordProfile:
|
||||||
printProfileField(record)
|
for _, profileR := range record {
|
||||||
|
printProfileField(profileR)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user