Branch: refs/heads/master
Home: https://github.com/btcsuite/btcutil
Commit: 03f6069579df8d3dc1e7298912ac7c75fdd11c9c
https://github.com/btcsuite/btcutil/commit/03f6069579df8d3dc1e7298912ac7c75fdd11c9c
Author: Mawuli Adzoe <[email protected]>
Date: 2015-08-12 (Wed, 12 Aug 2015)
Changed paths:
M amount.go
Log Message:
-----------
Update docs for NewAmount
- Documentation update to NewAmount.
Call out the fact it's specifically for converting BTC to Satoshi.
The caller should perform a simple type cast to an Amount when dealing
with int64 values which denote a quantity of Satoshi.