func SignCommit(n uint64, tx interfaces.ISignable) { err := tx.Sign(NewPrivKey(n)) if err != nil { panic(err) } }