Skip to content

Commit

Permalink
[sky] refs #139 - Correct comparison between params.DataRefreshTimeou…
Browse files Browse the repository at this point in the history
…t and SkycoinBlockchain.CacheTime
  • Loading branch information
olemis committed Mar 4, 2020
1 parent 40513b2 commit cd674d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coin/skycoin/models/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func TestSkyFiberPluginNetOperations(t *testing.T) {
require.Nil(t, err1)
require.IsType(t, new(SkycoinBlockchain), api)
sAPI := api.(*SkycoinBlockchain)
require.Equal(t, uint64(params.DataRefreshTimeout*10000), sAPI.CacheTime)
require.Equal(t, uint64(params.DataRefreshTimeout*100000000000000), sAPI.CacheTime)
})
}

Expand Down

0 comments on commit cd674d6

Please sign in to comment.