log format

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-07-14 09:37:11 +02:00
parent db93aeaa32
commit e00f189687
2 changed files with 18 additions and 18 deletions

View File

@ -145,6 +145,8 @@ export class Bank {
'Bank ' +
'\n token index - ' +
this.tokenIndex +
'\n token name - ' +
this.name +
'\n deposit index - ' +
this.depositIndex.toNumber() +
'\n borrow index - ' +

View File

@ -154,9 +154,7 @@ async function main() {
// log tokens/banks
for (const bank of await group.banksMap.values()) {
console.log(
`...registered Bank ${bank.name} ${bank.tokenIndex} ${bank.publicKey}, mint ${bank.mint}, oracle ${bank.oracle}`,
);
console.log(`${bank.toString()}`);
}
process.exit();