Browse Source

parser: remove unused raw field from test structs

v2_protobufs
George Tankersley 6 years ago
parent
commit
f460b3cfb7
  1. 10
      parser/transaction_test.go

10
parser/transaction_test.go

@ -29,16 +29,14 @@ type joinSplitTestVector struct {
}
// https://github.com/zcash/zips/blob/master/zip-0143.rst
// raw is currently unused, but will be useful in the future for fuzzing.
var zip143tests = []struct {
raw, header, nVersionGroupId, nLockTime, nExpiryHeight string
vin, vout [][]string
vJoinSplits []joinSplitTestVector
joinSplitPubKey, joinSplitSig string
header, nVersionGroupId, nLockTime, nExpiryHeight string
vin, vout [][]string
vJoinSplits []joinSplitTestVector
joinSplitPubKey, joinSplitSig string
}{
{
// Test vector 1
raw: "030000807082c40300028f739811893e0000095200ac6551ac636565b1a45a0805750200025151481cdd86b3cc431800",
header: "03000080",
nVersionGroupId: "7082c403",
nLockTime: "481cdd86",

Loading…
Cancel
Save