sharding: Adding colon(#92)

Former-commit-id: cb11c83f0d32b7e8c383c974378ddbdb756ecbe4 [formerly a88b20fb68d81b018bedf6f3ba3ce2d0a0f70918]
Former-commit-id: cf5df84fe22b937198569b6092ff1e602865bbec
This commit is contained in:
nisdas 2018-05-17 07:23:48 +08:00
parent 676681e67a
commit 33c4f15586

View File

@ -127,7 +127,7 @@ func (c Collation) CreateRawBlobs() ([]*utils.RawBlob, error) {
blobs[i], err = utils.NewRawBlob(c.transactions[i], false)
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])
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