Deposits were broken by https://github.com/OriginProtocol/origin-js/pull/485 because the number of decimals is not provided. I know that hard-coding the number here is not ideal, but I'm unclear on how to access the token contract method (decimals()) from this point in the ContractService constructor or how exactly you intended to populate the currency.decimals value.
Deposits were broken by https://github.com/OriginProtocol/origin-js/pull/485 because the number of decimals is not provided. I know that hard-coding the number here is not ideal, but I'm unclear on how to access the token contract method (
decimals()
) from this point in theContractService
constructor or how exactly you intended to populate thecurrency.decimals
value.