mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-07 07:43:08 +00:00
vault: cleanup
This commit is contained in:
parent
f9464f9118
commit
297ec7f6b3
@ -12,8 +12,8 @@ contract Vault is VaultBase {
|
||||
Recipient recipient
|
||||
) public view returns (uint128) {
|
||||
Controller controller = Controller.wrap(msg.sender);
|
||||
Account memory b = _getAccount(controller, fund, recipient);
|
||||
return b.available + b.designated;
|
||||
Account memory account = _getAccount(controller, fund, recipient);
|
||||
return account.available + account.designated;
|
||||
}
|
||||
|
||||
function getDesignatedBalance(
|
||||
@ -21,8 +21,8 @@ contract Vault is VaultBase {
|
||||
Recipient recipient
|
||||
) public view returns (uint128) {
|
||||
Controller controller = Controller.wrap(msg.sender);
|
||||
Account memory b = _getAccount(controller, fund, recipient);
|
||||
return b.designated;
|
||||
Account memory account = _getAccount(controller, fund, recipient);
|
||||
return account.designated;
|
||||
}
|
||||
|
||||
function getLock(Fund fund) public view returns (Lock memory) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user