rpc: Correctly name arguments

This commit is contained in:
Jon Layton
2018-11-13 13:42:36 -05:00
committed by MarcoFalke
parent c651265c93
commit fa0815c300
13 changed files with 33 additions and 32 deletions

View File

@@ -249,7 +249,7 @@ class PruneTest(BitcoinTestFramework):
return index
def prune(index, expected_ret=None):
ret = node.pruneblockchain(height(index))
ret = node.pruneblockchain(height=height(index))
# Check the return value. When use_timestamp is True, just check
# that the return value is less than or equal to the expected
# value, because when more than one block is generated per second,