mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-26 19:43:48 +00:00
ddd1d92ff1
The idea here is to preserve the history of `dev` branch development and its code when merging with the `master`. Later this code could be moved into the masters code where appropriate.
17 lines
295 B
Go
17 lines
295 B
Go
package payload
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/CityOfZion/neo-go/pkg/wire/command"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestNewVerack(t *testing.T) {
|
|
|
|
verackMessage, err := NewVerackMessage()
|
|
|
|
assert.Equal(t, nil, err)
|
|
assert.Equal(t, command.Verack, verackMessage.Command())
|
|
}
|