mirror of
https://github.com/arnaucube/slowlorisdb.git
synced 2026-02-28 05:46:48 +01:00
initial simple peer, add config reader
This commit is contained in:
@@ -33,6 +33,7 @@ func newTestPoABlockchain() (*ecdsa.PrivateKey, *core.Blockchain, error) {
|
||||
bc := core.NewPoABlockchain(db, authNodes)
|
||||
return privK, bc, nil
|
||||
}
|
||||
|
||||
func TestNode(t *testing.T) {
|
||||
dir, err := ioutil.TempDir("", "db")
|
||||
assert.Nil(t, err)
|
||||
|
||||
Reference in New Issue
Block a user