lbcwallet/rpc/legacyrpc
Wilmer Paulino 0492cb4507
waddrmgr: use correct DerivationPath for watch-only accounts
Previously, addresses that belong to a watch-only account would have a
derivation path using the internal account number used to identify
accounts within the databse, rather than the actual account number based
on the account's master public key child index. This wasn't an issue
before as only one account would exist within the wallet, the 0 account,
which is also the default. To ensure users of the DerivationPath struct
can arrive at addresses correctly, we introduce a new field
InternalAccount to denote the internal account number and repurpose the
existing Account field to its actual meaning.
2021-03-15 19:27:04 -07:00
..
config.go Use LICENSE file and short license headers. 2016-02-28 22:22:34 -05:00
errors.go multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
log.go Use LICENSE file and short license headers. 2016-02-28 22:22:34 -05:00
methods.go waddrmgr: use correct DerivationPath for watch-only accounts 2021-03-15 19:27:04 -07:00
rpchelp_test.go multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00
rpcserver_test.go multi: fix linter 2021-03-15 19:27:00 -07:00
rpcserverhelp.go Update project dependencies. 2017-06-20 09:34:45 -04:00
server.go multi: switch import paths back to upstream 2018-05-23 19:38:56 -07:00