mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-04 09:19:44 +00:00
253c39d4ee
* update dbft library, change to 64-bit timestamps and CV reason * modify messages * generate stateroot witness data from prepare* messages during commit Fix #1273.
14 lines
244 B
Go
14 lines
244 B
Go
package consensus
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestRecoveryRequest_Setters(t *testing.T) {
|
|
var r recoveryRequest
|
|
|
|
r.SetTimestamp(123 * nanoInSec)
|
|
require.EqualValues(t, 123*nanoInSec, r.Timestamp())
|
|
}
|