Fix (most) rpc tests by updating balances. zcpour, zcpourdoublespend, and txn_doublespend currently fail.

This commit is contained in:
Nathan Wilcox
2016-04-08 18:05:51 -07:00
parent 349a7b3714
commit ad56edf7d4
14 changed files with 59 additions and 72 deletions

View File

@@ -77,8 +77,8 @@ class InvalidBlockRequestTest(ComparisonTestFramework):
self.block_time += 1
# chr(81) is OP_TRUE
tx1 = create_transaction(self.block1.vtx[0], 0, chr(81), 50*100000000)
tx2 = create_transaction(tx1, 0, chr(81), 50*100000000)
tx1 = create_transaction(self.block1.vtx[0], 0, chr(81), 40*100000000)
tx2 = create_transaction(tx1, 0, chr(81), 40*100000000)
block2.vtx.extend([tx1, tx2])
block2.hashMerkleRoot = block2.calc_merkle_root()