Skip to content

Commit e37058c

Browse files
committed
clean up admin funcs
1 parent e33f1b8 commit e37058c

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

shell.go

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -734,49 +734,6 @@ func (s *Shell) OrbitDocsDelete(dbName, key string) error {
734734
return nil
735735
}
736736

737-
func (s *Shell) CreateCountryAccounts() error {
738-
// connect
739-
resp, err := s.Request("orbit/create-country-accounts").Send(context.Background())
740-
if err != nil {
741-
return err
742-
}
743-
if resp.Error != nil {
744-
resp.Close()
745-
return resp.Error
746-
}
747-
748-
return nil
749-
}
750-
751-
func (s *Shell) UpdateCountryAccount(country, govermentID, name, descriptor, credentialID string) error {
752-
// connect
753-
encoder, _ := mbase.EncoderByName("base64url")
754-
resp, err := s.Request("orbit/update-country-account", encoder.Encode([]byte(country)), encoder.Encode([]byte(govermentID)), encoder.Encode([]byte(name)), encoder.Encode([]byte(descriptor)), encoder.Encode([]byte(credentialID))).Send(context.Background())
755-
if err != nil {
756-
return err
757-
}
758-
if resp.Error != nil {
759-
resp.Close()
760-
return resp.Error
761-
}
762-
763-
return nil
764-
}
765-
766-
func (s *Shell) CreateCountryWallets() error {
767-
// connect
768-
resp, err := s.Request("orbit/create-country-wallets").Send(context.Background())
769-
if err != nil {
770-
return err
771-
}
772-
if resp.Error != nil {
773-
resp.Close()
774-
return resp.Error
775-
}
776-
777-
return nil
778-
}
779-
780737
func (s *Shell) RunInflationIndexer() error {
781738
// connect
782739
resp, err := s.Request("orbit/runindexer").Send(context.Background())

0 commit comments

Comments
 (0)