(Client client)
| 169 | } |
| 170 | |
| 171 | static void loadKeys(Client client) throws Exception { |
| 172 | Key.Items keys = new MockHsm.Key.QueryBuilder().execute(client); |
| 173 | while (keys.hasNext()) { |
| 174 | Key k = keys.next(); |
| 175 | HsmSigner.addKey(k.xpub, MockHsm.getSignerClient(client)); |
| 176 | } |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | class Bank { |