Merge pull request #308 from filecoin-project/fix/tostoragebls
Fix ToStorageBlock on BLS msgs
This commit is contained in:
commit
289332c497
@ -9,6 +9,10 @@ import (
|
||||
)
|
||||
|
||||
func (m *SignedMessage) ToStorageBlock() (block.Block, error) {
|
||||
if m.Signature.Type == KTBLS {
|
||||
return m.Message.ToStorageBlock()
|
||||
}
|
||||
|
||||
data, err := m.Serialize()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user