new blocksigner contract

This commit is contained in:
parmmarrushabh 2018-10-23 11:29:46 +05:30
parent 6a76879b85
commit 2677b33b78
2 changed files with 8 additions and 2 deletions

View file

@ -47,5 +47,11 @@ func TestBlockSigner(t *testing.T) {
for _, it := range signers { for _, it := range signers {
t.Log("signer", it.String()) t.Log("signer", it.String())
} }
s, err := blockSigner.Sign(big.NewInt(1), byte0)
if err != nil {
t.Fatalf("can't sign: %v", err)
}
t.Log("tx data", s)
contractBackend.Commit() contractBackend.Commit()
} }