Simply integer dividing results in an acceptable size if the limit isn't an exact multiple of the input size. Use math.ceil to ensure the transaction is always oversize.
(This issue can be triggered by changing the address style used.)
Simply integer dividing results in an acceptable size if the limit isn't an exact multiple of the input size. Use math.ceil to ensure the transaction is always oversize.
(This issue can be triggered by changing the address style used.)
Simply integer dividing results in an acceptable size if the limit isn't an exact multiple of the input size.
Use math.ceil to ensure the transaction is always oversize.
utACK 29aeed1734793d4bc50174d1837393581a234ee6 (I think I left it out back then because it was working already without the math import)
4 | @@ -5,6 +5,7 @@ 5 | """Test mempool acceptance of raw transactions.""" 6 | 7 | from io import BytesIO 8 | +import math
nit from math import ceil?
utACK 29aeed1.