Pass the error

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-01-27 13:00:13 -08:00
parent 5532093d58
commit a55a37c17b
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -590,7 +590,7 @@ create temp table b (like blocks excluding constraints) on commit drop;
stmt3, err := tx.Prepare(`copy c(block, index, sector_id, parital) from stdin`)
if err != nil {
return xerrors.Errorf("s3 create: %w")
return xerrors.Errorf("s3 create: %w", err)
}
for _, bh := range bhs {
for index, c := range bh.EPostProof.Candidates {