Skip to content

Commit 6a4edd8

Browse files
committed
doc
1 parent 17c1bea commit 6a4edd8

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

cmd/ulxly/ulxly.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ func nullifierTree(args []string) error {
410410
return nil
411411
}
412412

413-
func nullifierAndBalanceTree(args []string) error {
413+
func nullifierAndBalanceTree() error {
414414
l2NetworkID := balanceTreeOptions.L2NetworkID
415415
bridgeAddress := common.HexToAddress(balanceTreeOptions.BridgeAddress)
416416

@@ -2448,7 +2448,7 @@ or if it's actually an intermediate hash.`,
24482448
Short: "Compute the balance tree and the nullifier tree given the deposits and claims.",
24492449
Long: nullifierAndBalanceTreeUsage,
24502450
RunE: func(cmd *cobra.Command, args []string) error {
2451-
return nullifierAndBalanceTree(args)
2451+
return nullifierAndBalanceTree()
24522452
},
24532453
SilenceUsage: true,
24542454
}

doc/polycli_ulxly_compute-balance-tree.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ This is the response from polycli:
4242

4343
```json
4444
{
45-
"root": "0x4516ca2a793b8e20f56ec6ba8ca6033a672330670a3772f76f2ade9bc2125150"",
45+
"root": "0x4516ca2a793b8e20f56ec6ba8ca6033a672330670a3772f76f2ade9bc2125150",
46+
"balances": [{
47+
"originNetwork": 0,
48+
"originTokenAddress": "0x4348967e282138d8f377b467f7d9c2eb0f335d2a",
49+
"totalSupply": "993432432123"
50+
}]
4651
}
4752
```
4853

0 commit comments

Comments
 (0)