add bonder's signature to BondTx

This commit is contained in:
Ethan Buchman
2015-05-20 19:36:55 -04:00
parent f78bde2e3e
commit d43c776e84
4 changed files with 14 additions and 5 deletions
+4 -3
View File
@@ -179,9 +179,10 @@ func (tx *CallTx) String() string {
//-----------------------------------------------------------------------------
type BondTx struct {
PubKey account.PubKeyEd25519 `json:"pub_key"`
Inputs []*TxInput `json:"inputs"`
UnbondTo []*TxOutput `json:"unbond_to"`
PubKey account.PubKeyEd25519 `json:"pub_key"`
Signature account.SignatureEd25519 `json:"signature"`
Inputs []*TxInput `json:"inputs"`
UnbondTo []*TxOutput `json:"unbond_to"`
}
func (tx *BondTx) WriteSignBytes(w io.Writer, n *int64, err *error) {