We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb255e commit 94bb97aCopy full SHA for 94bb97a
src/Models/Wallet.php
@@ -86,7 +86,7 @@ public function getAvailableBalance(): int
86
*/
87
public function calculateBalance(): bool
88
{
89
- $balance = $this->getBalanceAttribute();
+ $balance = $this->getAvailableBalance();
90
WalletProxy::set($this->getKey(), $balance);
91
$this->attributes['balance'] = $balance;
92
0 commit comments