Branch: refs/heads/master
Home: https://github.com/conformal/btcutil
Commit: e622fde7e71aad898f5e090de50665d7f6269ac2
https://github.com/conformal/btcutil/commit/e622fde7e71aad898f5e090de50665d7f6269ac2
Author: Josh Rickmar <[email protected]>
Date: 2014-04-12 (Sat, 12 Apr 2014)
Changed paths:
M amount.go
M amount_test.go
M test_coverage.txt
Log Message:
-----------
Remove bounds check for NewAmount.
Amount should still be a usable type even if the monetary amount being
described is not an amount at a single instance in time, for example,
the total of all BTC received by an address. Therefore, the bounds
checks that the amount is within the total amount of bitcoin ever
producable have been removed.
The checks for NaN and +-Infinity remain.