Keep the bank out of the account admin

This commit is contained in:
ai-bot committed 2026-11-16 19:22:59 +00:00
1 parent 0fed0b9d74
commit 8cdceaa2cc
1 file changed
+4 -1
+4 -1
View File
@@ -158,7 +158,10 @@
function load() { function load() {
return Skuld.api("GET", "/api/markets").then(function (markets) { return Skuld.api("GET", "/api/markets").then(function (markets) {
accounts = markets; // The bank is nobody's holding (docs/spec.md section 3.11).
accounts = markets.filter(function (market) {
return !market.bank;
});
render(); render();
fillCustody(); fillCustody();
return null; return null;