We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd57904 commit 066446bCopy full SHA for 066446b
packages/neuron-wallet/src/controllers/perun.ts
@@ -149,7 +149,7 @@ export default class PerunController {
149
const meRequestId = await participant.encode(me.publicKey, me.address);
150
const peerRequestId = await participant.encode(peer.publicKey, peer.address);
151
const { assets, balances: iBalances } = balances.reduce((obj, item) => {
152
- obj.assets.push(item.type ? ccc.Script.from(item.type).toBytes() : new Uint8Array(0))
+ obj.assets.push(item.type ? ccc.Script.from(item.type).toBytes() : new Uint8Array(1))
153
obj.balances.push(
154
item.balances.map(balance => bytes.bytify(equalNumPaddedHex(BigInt(balance)))),
155
)
0 commit comments