aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-02-09 01:11:23 +0800
committerGav Wood <i@gavwood.com>2014-02-09 01:11:23 +0800
commit397fd495f69d5fd9a3924b5274600314e21d0b22 (patch)
treed779bf23da506426c0d2e88bbe24e6d4391edfbc
parent215c56965637a41e3d9deefc4fe2bb373ba9eaae (diff)
downloaddexon-solidity-397fd495f69d5fd9a3924b5274600314e21d0b22.tar
dexon-solidity-397fd495f69d5fd9a3924b5274600314e21d0b22.tar.gz
dexon-solidity-397fd495f69d5fd9a3924b5274600314e21d0b22.tar.bz2
dexon-solidity-397fd495f69d5fd9a3924b5274600314e21d0b22.tar.lz
dexon-solidity-397fd495f69d5fd9a3924b5274600314e21d0b22.tar.xz
dexon-solidity-397fd495f69d5fd9a3924b5274600314e21d0b22.tar.zst
dexon-solidity-397fd495f69d5fd9a3924b5274600314e21d0b22.zip
No fees for miners.
-rw-r--r--dagger.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/dagger.cpp b/dagger.cpp
index 97e575a6..efc63565 100644
--- a/dagger.cpp
+++ b/dagger.cpp
@@ -32,17 +32,17 @@ int daggerTest()
{
Dagger d;
auto s = steady_clock::now();
- cout << hex << d.eval((h256)1, 0);
+ cout << hex << d.eval((h256)1, (h256)0);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
- cout << hex << d.eval((h256)1, 1);
+ cout << hex << d.eval((h256)1, (h256)1);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
}
{
Dagger d;
auto s = steady_clock::now();
- cout << hex << d.eval((h256)1, 0);
+ cout << hex << d.eval((h256)1, (h256)0);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
- cout << hex << d.eval((h256)1, 1);
+ cout << hex << d.eval((h256)1, (h256)1);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
}
return 0;