Skip to content

Commit 066446b

Browse files
committed
wip: update
1 parent dd57904 commit 066446b

File tree

1 file changed

+1
-1
lines changed
  • packages/neuron-wallet/src/controllers

1 file changed

+1
-1
lines changed

packages/neuron-wallet/src/controllers/perun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default class PerunController {
149149
const meRequestId = await participant.encode(me.publicKey, me.address);
150150
const peerRequestId = await participant.encode(peer.publicKey, peer.address);
151151
const { assets, balances: iBalances } = balances.reduce((obj, item) => {
152-
obj.assets.push(item.type ? ccc.Script.from(item.type).toBytes() : new Uint8Array(0))
152+
obj.assets.push(item.type ? ccc.Script.from(item.type).toBytes() : new Uint8Array(1))
153153
obj.balances.push(
154154
item.balances.map(balance => bytes.bytify(equalNumPaddedHex(BigInt(balance)))),
155155
)

0 commit comments

Comments
 (0)