mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-26 18:04:22 +00:00
bug fixes in binary
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package accounts
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/tendermint/binary"
|
||||
)
|
||||
|
||||
type Account struct {
|
||||
Name String
|
||||
PubKey ByteSlice
|
||||
}
|
||||
|
||||
func (self *Account) Verify(msg ByteSlice, sig ByteSlice) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
type MyAccount struct {
|
||||
Account
|
||||
PrivKey ByteSlice
|
||||
}
|
||||
|
||||
func (self *MyAccount) Sign(msg ByteSlice) ByteSlice {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user