mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-07 00:26:58 +00:00
rpc-gen update
This commit is contained in:
+2
-2
@@ -212,11 +212,11 @@ func callContract(t *testing.T, client cclient.Client, address, data, expected [
|
||||
// get the namereg entry
|
||||
func getNameRegEntry(t *testing.T, typ string, name string) *types.NameRegEntry {
|
||||
client := clients[typ]
|
||||
r, err := client.NameRegEntry(name)
|
||||
entry, err := client.GetName(name)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
return r.Entry
|
||||
return entry
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user