Closes #2024 by documenting and testing method field in z_getoperationstatus

This commit is contained in:
Simon
2017-02-06 14:53:56 -08:00
parent 499e34fc64
commit aa0ab69a15
2 changed files with 2 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ class WalletProtectCoinbaseTest (BitcoinTestFramework):
errorString = results[0]["error"]["message"]
# Test that the returned status object contains a params field with the operation's input parameters
assert_equal(results[0]["method"], "z_sendmany")
params =results[0]["params"]
assert_equal(params["fee"], Decimal('0.0001')) # default
assert_equal(params["minconf"], Decimal('1')) # default