fix log amount in token deposit (#446)
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
e65eb79860
commit
74a6c72f45
|
@ -237,7 +237,7 @@ impl<'a, 'info> DepositCommon<'a, 'info> {
|
||||||
mango_account: self.account.key(),
|
mango_account: self.account.key(),
|
||||||
signer: self.token_authority.key(),
|
signer: self.token_authority.key(),
|
||||||
token_index,
|
token_index,
|
||||||
quantity: amount,
|
quantity: amount_i80f48.to_num::<u64>(),
|
||||||
price: oracle_price.to_bits(),
|
price: oracle_price.to_bits(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue