mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 12:57:17 +00:00
Added encoder interface
This commit is contained in:
parent
3520771d68
commit
c642094cac
@ -9,6 +9,10 @@ import (
|
||||
"math/big"
|
||||
)
|
||||
|
||||
type RlpEncodable interface {
|
||||
RlpEncode() []byte
|
||||
}
|
||||
|
||||
type RlpEncoder struct {
|
||||
rlpData []byte
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user