08e74a90f9
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
15 lines
211 B
Go
15 lines
211 B
Go
package drand
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestPrintDrandPubkey(t *testing.T) {
|
|
bc, err := NewDrandBeacon(1, 1)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
fmt.Printf("Drand Pubkey:\n%#v\n", bc.pubkey.TOML())
|
|
}
|