Commit f402f25b authored by muXxer's avatar muXxer

Fixed test code to use iota.go

parent 699c4a6c
......@@ -7,7 +7,7 @@ import (
"testing"
"time"
"github.com/iotaledger/giota"
"github.com/iotaledger/iota.go/trinary"
)
const (
......@@ -36,7 +36,7 @@ func runPowTest(t *testing.T, wg *sync.WaitGroup, id int, powClient *PowClient,
randomTrytes[j] = rune(TRYTE_CHARS[rand.Intn(len(TRYTE_CHARS))])
}
data, err := giota.ToTrytes(string(randomTrytes) + transaction[256:])
data, err := trinary.NewTrytes(string(randomTrytes) + transaction[256:])
if err != nil {
t.Error(err)
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment