mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
When using JSONRPC, do not double-encode JSON.
This commit is contained in:
@@ -71,6 +71,9 @@ func TestHTTPGenPriv(t *testing.T) {
|
||||
func TestHTTPGetAccount(t *testing.T) {
|
||||
byteAddr, _ := hex.DecodeString(userAddr)
|
||||
acc := getAccount(t, "HTTP", byteAddr)
|
||||
if acc == nil {
|
||||
t.Fatalf("Account was nil")
|
||||
}
|
||||
if bytes.Compare(acc.Address, byteAddr) != 0 {
|
||||
t.Fatalf("Failed to get correct account. Got %x, expected %x", acc.Address, byteAddr)
|
||||
}
|
||||
|
Reference in New Issue
Block a user