added missing get_farmed_amount (#547)

This commit is contained in:
Zlatko Fedor 2021-09-20 20:48:41 +02:00 committed by GitHub
parent ac1f1f4136
commit ec64bddae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ import {
did_get_did,
pingWallet,
getNetworkInfo,
get_farmed_amount,
} from '../modules/message';
import { offerParsed, resetTrades } from '../modules/trade';
@ -119,6 +120,7 @@ async function get_wallet_transactions(store, id) {
}
async function get_wallet_balance(store, id) {
store.dispatch(get_farmed_amount());
store.dispatch(get_balance_for_wallet(id));
}