diff --git a/angular-bitcore-wallet-client/bitcore-wallet-client/lib/common/constants.js b/angular-bitcore-wallet-client/bitcore-wallet-client/lib/common/constants.js index 3866793a9..19cea629d 100644 --- a/angular-bitcore-wallet-client/bitcore-wallet-client/lib/common/constants.js +++ b/angular-bitcore-wallet-client/bitcore-wallet-client/lib/common/constants.js @@ -36,6 +36,11 @@ Constants.UNITS = { maxDecimals: 0, minDecimals: 0, }, + obyte: { + value: 100000000, + maxDecimals: 0, + minDecimals: 0, + }, giga: { value: 1000000000, maxDecimals: 0, diff --git a/src/js/controllers/preferencesUnit.js b/src/js/controllers/preferencesUnit.js index ceaf6a9dc..0d27d958b 100644 --- a/src/js/controllers/preferencesUnit.js +++ b/src/js/controllers/preferencesUnit.js @@ -56,9 +56,16 @@ angular.module('copayApp.controllers').controller('preferencesUnitController', decimals: 6, code: 'mega', } + , { + name: 'Obyte (100,000,000 bytes)', + shortName: 'OBYTE', + value: 100000000, + decimals: 8, + code: 'obyte', + } , { name: 'GBytes (1,000,000,000 bytes)', - shortName: 'GB', + shortName: 'GBYTE', value: 1000000000, decimals: 9, code: 'giga',