You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be better to use the satoshi_round() function, defined in qa/rpc-tests/test_framework/util.py for rounding decimals which are not 8 decimals places long, than converting the decimal to string and so forth and adding "00" / splicing decimal places off.
See line 119 in qa/rpc-tests/coldstaking_spending.py for an example of what could be replaced by satoshi_round().
The text was updated successfully, but these errors were encountered:
It would be better to use the
satoshi_round()
function, defined inqa/rpc-tests/test_framework/util.py
for rounding decimals which are not 8 decimals places long, than converting the decimal to string and so forth and adding"00"
/ splicing decimal places off.See line 119 in
qa/rpc-tests/coldstaking_spending.py
for an example of what could be replaced bysatoshi_round()
.The text was updated successfully, but these errors were encountered: