Balance is 128-bit value (#162)

* Replace 128-bit shim with real type.

* Remove unneeded code.

* Remove superfluous deps

* Reinstate deps.
This commit is contained in:
Gav Wood
2018-05-29 12:48:01 +01:00
committed by Arkadiy Paronyan
parent 1204a560aa
commit 757e5beb8d
5 changed files with 42 additions and 193 deletions
+1 -1
View File
@@ -83,4 +83,4 @@ pub type Timestamp = u64;
/// for an eventual total of 10^27 units (27 significant decimal figures).
/// We round denomination to 10^12 (12 sdf), and leave the other redundancy at the upper end so
/// that 32 bits may be multiplied with a balance in 128 bits without worrying about overflow.
pub type Balance = runtime_primitives::U128;
pub type Balance = u128;