Skip to content
Permalink
Browse files

fix test cases

  • Loading branch information...
SwimmingTiger authored and YihaoPeng committed Jun 12, 2019
1 parent d77c7bc commit b14353c506e7afd6a039882989dcfaac5aaea7bb
Showing with 5 additions and 3 deletions.
  1. +1 −0 docker/btcpool/test/btc/cfg/jobmaker.cfg
  2. +4 −3 test/TestStratum.cc
@@ -14,6 +14,7 @@ job_workers = (
rawgbt_topic = "RawGbt";
auxpow_gw_topic = "AuxPowBlock"; // kafka topic of merge mining auxpow work
rsk_rawgw_topic = "RskRawGw"; // kafka topic of RSK merge mining
vcash_rawgw_topic = "VcashRawGw";
job_topic = "StratumJob";

id = 1;
@@ -805,9 +805,10 @@ TEST(Stratum, StratumJobWithRskWork) {

// rsk tx out value
"0000000000000000"
// 0x29 = 41 bytes of second output script containing the rsk merged
// mining tag
"2952534b424c4f434b3ae6b0a8e84e0ce68471ca28db4f51b71139b0ab78ae1c3e0ae8"
// 0x2b = 43 bytes of second output script containing the rsk merged
// mining tag; 0x6a = OP_RETURN
"2b6a2952534b424c4f434b3ae6b0a8e84e0ce68471ca28db4f51b71139b0ab78ae1c3e"
"0ae8"
"364604e9f8a15d"

// lock_time

0 comments on commit b14353c

Please sign in to comment.
You can’t perform that action at this time.