mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Impl account creation auth endpoints
This commit is contained in:
15
test/l2db_test.go
Normal file
15
test/l2db_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestGenAuths(t *testing.T) {
|
||||
const nAuths = 5
|
||||
auths := GenAuths(nAuths)
|
||||
for _, auth := range auths {
|
||||
assert.True(t, auth.VerifySignature())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user