log format
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
db93aeaa32
commit
e00f189687
|
@ -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 - ' +
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue