remove unused tx function

This commit is contained in:
Travis 2021-02-05 16:13:17 -06:00
parent d192c1f24f
commit b2d666a1d0
No known key found for this signature in database
GPG key ID: 37080CC2042BA34E

View file

@ -41,13 +41,6 @@ type Command struct {
commandOptions []server.CommandOption
}
func OptTxSrc(src string) server.CommandOption {
return func(m *server.Command) error {
m.Config.Txsrc = src
return nil
}
}
func OptAllowedOrigins(origins []string) server.CommandOption {
return func(m *server.Command) error {
m.Config.Handler.AllowedOrigins = origins