blockchain: Correct serialized coinbase height error message.

This commit is contained in:
Dario Nieuwenhuis 2015-12-21 15:50:51 +01:00
parent 4d40a2110a
commit 87182a2ddf

View file

@ -764,7 +764,7 @@ func ExtractCoinbaseHeight(coinbaseTx *btcutil.Tx) (int32, error) {
str := "the coinbase signature script for blocks of " +
"version %d or greater must start with the " +
"serialized block height"
str = fmt.Sprintf(str, serializedLen)
str = fmt.Sprintf(str, serializedHeightVersion)
return 0, ruleError(ErrMissingCoinbaseHeight, str)
}