()
| 29 | ) |
| 30 | |
| 31 | func constructMsg() *blockProposalMsg { |
| 32 | acc := account.NewAccount("SHA256withECDSA") |
| 33 | if acc == nil { |
| 34 | fmt.Println("GetDefaultAccount error: acc is nil") |
| 35 | return nil |
| 36 | } |
| 37 | msg := constructProposalMsgTest(acc) |
| 38 | return msg |
| 39 | } |
| 40 | func TestSerializeVbftMsg(t *testing.T) { |
| 41 | msg := constructMsg() |
| 42 | _, err := SerializeVbftMsg(msg) |
no test coverage detected