Closed dgpv closed 4 years ago
issueasset uses PKHash(newKey.GetID()). It would be more convenient if it created segwit addresses, so that transactions that spend newly-created assets can have deterministic txid that won't change after signing the tx
issueasset
PKHash(newKey.GetID())
https://github.com/ElementsProject/elements/blob/e5ab941489c564cd78845658b8e8688dc56817f5/src/wallet/rpcwallet.cpp#L6238-L6253
argh good catch. Ideally this output is chosen based on wallet defaults.
our hand will be forced with descriptor wallets by ~0.21
Closing this through #825. Gonna create a separate issue for using wallet default.
issueasset
usesPKHash(newKey.GetID())
. It would be more convenient if it created segwit addresses, so that transactions that spend newly-created assets can have deterministic txid that won't change after signing the txhttps://github.com/ElementsProject/elements/blob/e5ab941489c564cd78845658b8e8688dc56817f5/src/wallet/rpcwallet.cpp#L6238-L6253