The near-miss in Citigroup’s wealth-management business magnified the intended amount by more than a thousand times and was detected on the next business day. It happened just after another part of the bank accidentally credited $81t to a different client.