rpc: move all RPC client's cached fields to a separate cache structure
No functional changes.
This commit is contained in:
parent
7d6f087337
commit
7c1862a9ac
7 changed files with 38 additions and 34 deletions
|
@ -1914,7 +1914,7 @@ func TestGetNetwork(t *testing.T) {
|
|||
}
|
||||
// network was not initialised
|
||||
require.Equal(t, netmode.Magic(0), c.GetNetwork())
|
||||
require.Equal(t, false, c.initDone)
|
||||
require.Equal(t, false, c.cache.initDone)
|
||||
})
|
||||
|
||||
t.Run("good", func(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue