bug fixes in binary

This commit is contained in:
Jae Kwon
2014-07-08 15:33:26 -07:00
parent 04eb07c26f
commit dca79ab5c1
9 changed files with 288 additions and 39 deletions
+23
View File
@@ -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
}