Skip to content

Commit

Permalink
fix: Fix not to fetch stake state from chain tip
Browse files Browse the repository at this point in the history
  • Loading branch information
OnedgeLee committed Jun 13, 2024
1 parent c0e285c commit 361d0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nekoyume/Assets/_Scripts/Blockchain/ActionHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected GoldBalanceState GetGoldBalanceState<T>(ActionEvaluation<T> evaluation
else
{
nullableStakeState = stakeStateV2;
balance = await agent.GetBalanceAsync(stakeAddr, GoldCurrency);
balance = StateGetter.GetBalance(evaluation.OutputState, stakeAddr, GoldCurrency);
sheetAddrArr = new[]
{
Addresses.GetSheetAddress(
Expand Down

0 comments on commit 361d0cf

Please sign in to comment.