File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,21 +6,21 @@ import (
66 "github.com/ethereum/go-ethereum/core/types"
77)
88
9- // sessionManager is the backend that manages the session state of the builder API.
10- type sessionManager interface {
9+ // SessionManager is the backend that manages the session state of the builder API.
10+ type SessionManager interface {
1111 NewSession () (string , error )
1212 AddTransaction (sessionId string , tx * types.Transaction ) (* types.SimulateTransactionResult , error )
1313}
1414
15- func NewServer (s sessionManager ) * Server {
15+ func NewServer (s SessionManager ) * Server {
1616 api := & Server {
1717 sessionMngr : s ,
1818 }
1919 return api
2020}
2121
2222type Server struct {
23- sessionMngr sessionManager
23+ sessionMngr SessionManager
2424}
2525
2626func (s * Server ) NewSession (ctx context.Context ) (string , error ) {
You can’t perform that action at this time.
0 commit comments