Exemplo n.º 1
0
 private Task StartTask(StateReader reader, Keccak stateRoot, UInt256 value)
 {
     return(Task.Run(
                () =>
     {
         for (int i = 0; i < 10000; i++)
         {
             UInt256 balance = reader.GetBalance(stateRoot, _address1);
             Assert.AreEqual(value, balance);
         }
     }));
 }