mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-23 01:41:31 +00:00
rpc: remove unecessary response wrappers
This commit is contained in:
@ -25,11 +25,11 @@ func testStatus(t *testing.T, typ string) {
|
||||
|
||||
func testGenPriv(t *testing.T, typ string) {
|
||||
client := clients[typ]
|
||||
resp, err := client.GenPrivAccount()
|
||||
privAcc, err := client.GenPrivAccount()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if len(resp.PrivAccount.Address) == 0 {
|
||||
if len(privAcc.Address) == 0 {
|
||||
t.Fatal("Failed to generate an address")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user