OSDN Git Service

Thanos did someting
[bytom/vapor.git] / protocol / bc / types / coinbase.go
diff --git a/protocol/bc/types/coinbase.go b/protocol/bc/types/coinbase.go
deleted file mode 100644 (file)
index bf0797d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package types
-
-// CoinbaseInput records the coinbase message
-type CoinbaseInput struct {
-       Arbitrary []byte
-}
-
-// NewCoinbaseInput creates a new coinbase input struct
-func NewCoinbaseInput(arbitrary []byte) *TxInput {
-       return &TxInput{
-               AssetVersion: 1,
-               TypedInput:   &CoinbaseInput{Arbitrary: arbitrary},
-       }
-}
-
-// InputType is the interface function for return the input type
-func (cb *CoinbaseInput) InputType() uint8 { return CoinbaseInputType }