Fix test, improve log

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera
2019-12-06 19:47:55 +01:00
parent b679c1b49d
commit d53e43c24d
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func PreSeal(maddr address.Address, ssize uint64, offset uint64, sectors int, sb
TicketBytes: trand,
}
fmt.Println("Piece info: ", pi)
fmt.Printf("sector-id: %d, piece info: %v", sid, pi)
pco, err := sb.SealPreCommit(sid, ticket, []sectorbuilder.PublicPieceInfo{pi})
if err != nil {