File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,18 @@ def run_test(self):
101
101
assert_equal (mempool [x ], v_descendants [x ])
102
102
assert (chain [0 ] not in v_descendants .keys ())
103
103
104
+ # Check that ancestor modified fees includes fee deltas from
105
+ # prioritisetransaction
106
+ self .nodes [0 ].prioritisetransaction (chain [0 ], 1000 )
107
+ mempool = self .nodes [0 ].getrawmempool (True )
108
+ ancestor_fees = 0
109
+ for x in chain :
110
+ ancestor_fees += mempool [x ]['fee' ]
111
+ assert_equal (mempool [x ]['ancestorfees' ], ancestor_fees * COIN + 1000 )
112
+
113
+ # Undo the prioritisetransaction for later tests
114
+ self .nodes [0 ].prioritisetransaction (chain [0 ], - 1000 )
115
+
104
116
# Check that descendant modified fees includes fee deltas from
105
117
# prioritisetransaction
106
118
self .nodes [0 ].prioritisetransaction (chain [- 1 ], 1000 )
You can’t perform that action at this time.
0 commit comments