fixed wallet listing ignoring org reference

This commit is contained in:
Stephan D
2026-01-14 17:25:21 +01:00
parent 62bc2644d4
commit 343911ebe7
33 changed files with 408 additions and 304 deletions

View File

@@ -47,8 +47,8 @@ func (c *listManagedWalletsCommand) Execute(ctx context.Context, req *chainv1.Li
}
protoWallets := make([]*chainv1.ManagedWallet, 0, len(result.Items))
for _, wallet := range result.Items {
protoWallets = append(protoWallets, toProtoManagedWallet(wallet))
for i := range result.Items {
protoWallets = append(protoWallets, toProtoManagedWallet(&result.Items[i]))
}
resp := &chainv1.ListManagedWalletsResponse{