-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend countDecimals() for negative values #154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
@@ -2,8 +2,8 @@ import { Accounts, Account, TransactionBody, V3Keystore, V3KeystoreOptions } fro | |||
import Ain from './ain'; | |||
import { validateMnemonic, mnemonicToSeedSync } from 'bip39'; | |||
import Reference from './ain-db/ref'; | |||
const AIN_HD_DERIVATION_PATH = "m/44'/412'/0'/0/"; /* default wallet address for AIN */ | |||
const MAX_TRANSFERABLE_DECIMALS = 6; /* The maximum transferable decimal places of values */ | |||
const AIN_HD_DERIVATION_PATH = "m/44'/412'/0'/0/"; // The hardware wallet derivation path of AIN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저희 AIN wallet이나 aFan wallet에서는 이제 m/44'/60'/0'/0/
을 derivation path prefix로 사용하기로 했는데, 여기서는 이 path로 유지하는게 맞을까요, 아니면 변경하는게 맞을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, just added a todo.
One problem is that we already have some v3 wallet files.
Thanks!
Thanks for the review! @shyun-comcom @woomurf Now merging.. |
Change summary:
Related issues: