We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef4872d commit ca64c83Copy full SHA for ca64c83
modules/abstract-cosmos/src/cosmosCoin.ts
@@ -223,6 +223,9 @@ export class CosmosCoin<CustomMessage = never> extends BaseCoin {
223
224
if (publicKey) {
225
txnBuilder.publicKey(publicKey);
226
+ } else {
227
+ publicKey = MPC.deriveUnhardened(params.bitgoKey || '', ROOT_PATH).slice(0, 66);
228
+ txnBuilder.publicKey(publicKey);
229
}
230
231
const unsignedTransaction = (await txnBuilder.build()) as CosmosTransaction<CustomMessage>;
0 commit comments