mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 09:14:28 +00:00
sharding: Adding colon(#92)
Former-commit-id: cb11c83f0d32b7e8c383c974378ddbdb756ecbe4 [formerly a88b20fb68d81b018bedf6f3ba3ce2d0a0f70918] Former-commit-id: cf5df84fe22b937198569b6092ff1e602865bbec
This commit is contained in:
parent
676681e67a
commit
33c4f15586
@ -127,7 +127,7 @@ func (c Collation) CreateRawBlobs() ([]*utils.RawBlob, error) {
|
|||||||
blobs[i], err = utils.NewRawBlob(c.transactions[i], false)
|
blobs[i], err = utils.NewRawBlob(c.transactions[i], false)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("Creation of raw blobs from transactions failed %v", err)
|
return nil, fmt.Errorf("Creation of raw blobs from transactions failed: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -147,7 +147,7 @@ func ConvertBackToTx(rawBlobs []utils.RawBlob) ([]*types.Transaction, error) {
|
|||||||
|
|
||||||
err := utils.ConvertFromRawBlob(&rawBlobs[i], blobs[i])
|
err := utils.ConvertFromRawBlob(&rawBlobs[i], blobs[i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("Creation of transactions from raw blobs failed %v", err)
|
return nil, fmt.Errorf("Creation of transactions from raw blobs failed: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return blobs, nil
|
return blobs, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user