Fixed a PrivValidator filename == nil bug

This commit is contained in:
Jae Kwon
2014-12-28 02:05:09 -08:00
parent f91665fe07
commit 2405d00ca5
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ type TxInput struct {
Amount uint64 // Must not exceed account balance
Sequence uint // Must be 1 greater than the last committed TxInput
Signature Signature // Depends on the PubKey type and the whole Tx
PubKey PubKey // Optional, may be nil
PubKey PubKey // Must not be nil, may be PubKeyNil.
}
func (txIn *TxInput) ValidateBasic() error {