ingest: make zmq client store raw transaction data

This commit is contained in:
George Tankersley
2018-12-14 21:54:33 -05:00
parent d4d991a191
commit 71c0624abe
4 changed files with 54 additions and 21 deletions

View File

@@ -225,7 +225,7 @@ func TestSproutTransactionParser(t *testing.T) {
}
}
func subTestCommonBlockMeta(tt *txTestVector, tx *transaction, t *testing.T, caseNum int) bool {
func subTestCommonBlockMeta(tt *txTestVector, tx *Transaction, t *testing.T, caseNum int) bool {
headerBytes, _ := hex.DecodeString(tt.header)
header := binary.LittleEndian.Uint32(headerBytes)
if (header >> 31) == 1 != tx.fOverwintered {