tatumio/tatum-kms

export wallets always export default path (ignore path parameter)

Closed this issue · 0 comments

I found a problem in "exportWallets" method. the method has 3 parameters but the second parameter (_path1) never used.
on the other hand when it called from index.ts, just two parameter passed to it, so the third parameter will be "null" all the time and the default path will be export all the time.
https://github.com/tatumio/tatum-kms/blob/388096517464d9dedc9aa8285b3724fae02a2ddc/src/index.ts#L145
https://github.com/tatumio/tatum-kms/blob/388096517464d9dedc9aa8285b3724fae02a2ddc/src/management.ts#L81