Added encoder interface
This commit is contained in:
1 parent
3520771d68
commit
c642094cac
1 file changed
+4
@@ -9,6 +9,10 @@ import (
|
||||
"math/big"
|
||||
)
|
||||
|
||||
type RlpEncodable interface {
|
||||
RlpEncode() []byte
|
||||
}
|
||||
|
||||
type RlpEncoder struct {
|
||||
rlpData []byte
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user