oracle: reprocess request on fail

This commit is contained in:
Evgenii Stratonikov 2020-10-09 10:44:31 +03:00 committed by Evgeniy Stratonikov
parent aa852aaaac
commit e4528e59dc
6 changed files with 134 additions and 19 deletions

View file

@ -33,6 +33,7 @@ func getOracleConfig(t *testing.T, bc *Blockchain, w, pass string) oracle.Config
Log: zaptest.NewLogger(t),
Network: netmode.UnitTestNet,
MainCfg: config.OracleConfiguration{
RefreshInterval: time.Second,
UnlockWallet: config.Wallet{
Path: path.Join(oracleModulePath, w),
Password: pass,