@ -72,7 +72,13 @@ class RawTransactionsTest(BitcoinTestFramework):
assert_raises_rpc_error(-8,"parameter 3 must be hexadecimal",self.nodes[0].getrawtransaction,tx,True,True)
assert_raises_rpc_error(-8,"parameter 3 must be hexadecimal",self.nodes[0].getrawtransaction,tx,True,True)
assert_raises_rpc_error(-8,"parameter 3 must be hexadecimal",self.nodes[0].getrawtransaction,tx,True,"foobar")
assert_raises_rpc_error(-8,"parameter 3 must be hexadecimal",self.nodes[0].getrawtransaction,tx,True,"foobar")
assert_raises_rpc_error(-8,"parameter 3 must be of length 64",self.nodes[0].getrawtransaction,tx,True,"abcd1234")
assert_raises_rpc_error(-8,"parameter 3 must be of length 64",self.nodes[0].getrawtransaction,tx,True,"abcd1234")
assert_raises_rpc_error(-5,"Block hash not found",self.nodes[0].getrawtransaction,tx,True,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
assert_raises_rpc_error(-5,"Block hash not found",self.nodes[0].getrawtransaction,tx,True,"0000000000000000000000000000000000000000000000000000000000000000")