OSDN Git Service

update master (#487)
[bytom/bytom-spv.git] / protocol / bc / entry_test.go
index 547056c..4631eb8 100644 (file)
@@ -9,13 +9,13 @@ func BenchmarkEntryID(b *testing.B) {
        m := NewMux([]*ValueSource{{Position: 1}}, &Program{Code: []byte{1}, VmVersion: 1})
 
        entries := []Entry{
-               NewIssuance(nil, &AssetAmount{}, &Hash{}, 0),
+               NewIssuance(nil, &AssetAmount{}, 0),
                m,
-               NewTxHeader(1, 1, 0, nil, &Hash{}),
+               NewTxHeader(1, 1, 0, nil),
                NewNonce(&Program{Code: []byte{1}, VmVersion: 1}),
-               NewOutput(&ValueSource{}, &Program{Code: []byte{1}, VmVersion: 1}, &Hash{}, 0),
-               NewRetirement(&ValueSource{}, &Hash{}, 1),
-               NewSpend(&Hash{}, &Hash{}, 0),
+               NewOutput(&ValueSource{}, &Program{Code: []byte{1}, VmVersion: 1}, 0),
+               NewRetirement(&ValueSource{}, 1),
+               NewSpend(&Hash{}, 0),
        }
 
        for _, e := range entries {