mirror of
https://github.com/fluencelabs/tendermint
synced 2025-08-01 04:31:57 +00:00
PrivKey is just []byte
This commit is contained in:
@@ -33,6 +33,11 @@ func GetAccountHandler(w http.ResponseWriter, r *http.Request) {
|
||||
state := consensusState.GetState()
|
||||
account_ := state.GetAccount(address)
|
||||
|
||||
if account_ == nil {
|
||||
WriteAPIResponse(w, API_OK, struct{}{})
|
||||
return
|
||||
}
|
||||
|
||||
WriteAPIResponse(w, API_OK, struct {
|
||||
Account *account.Account
|
||||
}{account_})
|
||||
|
Reference in New Issue
Block a user