diff --git a/packages/keepkey-desktop/package.json b/packages/keepkey-desktop/package.json index db348741b..fb94f59b0 100644 --- a/packages/keepkey-desktop/package.json +++ b/packages/keepkey-desktop/package.json @@ -1,6 +1,6 @@ { "name": "keepkey-desktop", - "version": "2.0.25", + "version": "2.0.26", "author": { "name": "KeepKey", "email": "support@keepkey.com" diff --git a/packages/keepkey-sdk-server/src/controllers/utxo.ts b/packages/keepkey-sdk-server/src/controllers/utxo.ts index 6a0014506..c50e0011a 100644 --- a/packages/keepkey-sdk-server/src/controllers/utxo.ts +++ b/packages/keepkey-sdk-server/src/controllers/utxo.ts @@ -47,7 +47,12 @@ export class UtxoController extends ApiController { if (body.vaultAddress) input.vaultAddress = body.vaultAddress if (body.opReturnData) input.opReturnData = body.opReturnData - console.log('*** input: ', JSON.stringify(input)) + for (let i = 0; i < input.outputs.length; i++) { + let output = input.outputs[i] + if (output.address && !output.address.startsWith('bitcoincash:')) { + output.address = 'bitcoincash:' + output.address + } + } return await this.context.wallet.btcSignTx(input) }