neo-go/pkg/consensus/recovery_request_test.go
Anna Shaleva 708b439f4a consensus: remove unused dBFT payload methods
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-03-25 19:21:51 +03:00

15 lines
233 B
Go

package consensus
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestRecoveryRequest_Getters(t *testing.T) {
var r = &recoveryRequest{
timestamp: 123,
}
require.EqualValues(t, 123*nsInMs, r.Timestamp())
}