bring examples so tests pass.

This commit is contained in:
fiatjaf
2023-09-18 16:31:05 -03:00
parent 0b433cd95a
commit 5afda80c1a
23 changed files with 19 additions and 5 deletions

View File

@@ -7,8 +7,8 @@ import (
"testing"
"time"
"github.com/fiatjaf/opentimestamps"
"github.com/btcsuite/btcd/rpcclient"
"github.com/fiatjaf/opentimestamps"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
@@ -56,7 +56,7 @@ func TestVerifyHelloWorld(t *testing.T) {
expectedTime := "2015-05-28T15:41:18Z"
helloWorld, err := opentimestamps.NewDetachedTimestampFromPath(
"../../examples/hello-world.txt.ots",
"../examples/hello-world.txt.ots",
)
require.NoError(t, err)
ts := helloWorld.Timestamp