diff --git a/packages/neuron-wallet/src/controllers/transactions.ts b/packages/neuron-wallet/src/controllers/transactions.ts index c48786676d..08ab022e1a 100644 --- a/packages/neuron-wallet/src/controllers/transactions.ts +++ b/packages/neuron-wallet/src/controllers/transactions.ts @@ -106,7 +106,7 @@ export default class TransactionsController { } return false }) - .map(i => BigInt(i.capacity)) + .map(i => BigInt(i.capacity || 0)) .reduce((result, c) => result + c, BigInt(0)) const value: bigint = outputCapacities - inputCapacities transaction.value = value.toString()