Skip to content

Commit

Permalink
Merge pull request #2885 from Emurgo/production
Browse files Browse the repository at this point in the history
[pull] Latest Production to Develop after 4.14.300
  • Loading branch information
vsubhuman authored Jun 9, 2022
2 parents 3e137fb + 6330cda commit cef1674
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
5 changes: 5 additions & 0 deletions packages/yoroi-ergo-connector/src/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,14 @@ class CardanoAPI {
return this._cardano_rpc_call("sign_data", [address, payload]);
}
// DEPRECATED
getCollateralUtxos(requiredAmount) {
return this._cardano_rpc_call("get_collateral_utxos", [requiredAmount]);
}
getCollateral(requiredAmount) {
return this._cardano_rpc_call("get_collateral_utxos", [requiredAmount]);
}
}
`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ export default class TransactionsStore extends Store<StoresMap, ActionsMap> {
new AssetIdsReducer(),
];

for (;;) {
for (let i = 0; ; i++) {
const batchRequest = {
...request,
skip: cursor,
Expand All @@ -592,7 +592,11 @@ export default class TransactionsStore extends Store<StoresMap, ActionsMap> {

const batchResult =
await this.stores.substores[apiType].transactions.refreshTransactions(
batchRequest
{
...batchRequest,
// only the first call should update from remote
isLocalRequest: i > 0,
}
);
if (batchResult.transactions.length === 0) {
break;
Expand Down
2 changes: 1 addition & 1 deletion packages/yoroi-extension/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/yoroi-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yoroi",
"version": "4.14.200",
"version": "4.14.300",
"description": "Cardano ADA wallet",
"scripts": {
"dev:build": "rimraf dev/ && babel-node scripts/build --type=debug",
Expand Down

0 comments on commit cef1674

Please sign in to comment.