927: Add gettx command and have send command return the tx hash. #78
@ -69,7 +69,7 @@ export const handler = async (argv: Arguments) => {
|
||||
recipient: transfer?.attributes.find(a => a.key === 'recipient')?.value,
|
||||
amount: transfer?.attributes.find(a => a.key === 'amount')?.value
|
||||
},
|
||||
balances: accountResponse
|
||||
accounts: accountResponse
|
||||
};
|
||||
|
||||
queryOutput(output, argv.output);
|
||||
|
@ -217,8 +217,8 @@ describe('Test laconic CLI commands', () => {
|
||||
getAccountObj({ address: testAccount2, balance: sendAmount })
|
||||
];
|
||||
|
||||
expect(outputObj.length).toEqual(2);
|
||||
expect(outputObj).toMatchObject(expectedAccounts);
|
||||
expect(outputObj.accounts.length).toEqual(2);
|
||||
expect(outputObj.accounts).toMatchObject(expectedAccounts);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user