You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
439 B

  1. package core
  2. import (
  3. ctypes "github.com/tendermint/tendermint/rpc/core/types"
  4. )
  5. //-----------------------------------------------------------------------------
  6. func TMSPQuery(query []byte) (*ctypes.ResultTMSPQuery, error) {
  7. res := proxyAppQuery.QuerySync(query)
  8. return &ctypes.ResultTMSPQuery{res}, nil
  9. }
  10. func TMSPInfo() (*ctypes.ResultTMSPInfo, error) {
  11. res := proxyAppQuery.InfoSync()
  12. return &ctypes.ResultTMSPInfo{res}, nil
  13. }