diff --git a/src/storage/methods/createAction.ts b/src/storage/methods/createAction.ts index ed4d828a..953f9c3a 100644 --- a/src/storage/methods/createAction.ts +++ b/src/storage/methods/createAction.ts @@ -841,7 +841,7 @@ async function fundNewTransactionSdk( lockingScriptLength: xo.lockingScript.length / 2 })), feeModel: ctx.feeModel, - changeInitialSatoshis: ctx.changeBasket.minimumDesiredUTXOValue, + changeInitialSatoshis: Math.max(1, ctx.changeBasket.minimumDesiredUTXOValue), changeFirstSatoshis: Math.max(1, Math.round(ctx.changeBasket.minimumDesiredUTXOValue / 4)), changeLockingScriptLength: 25, changeUnlockingScriptLength: 107,