-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: replace nano contract state call for history call #549
Conversation
locale/pt-br/texts.po
Outdated
@@ -57,7 +57,7 @@ msgid "[Last] dddd [•] HH:mm" | |||
msgstr "[Última] dddd [•] HH:mm" | |||
|
|||
#. See https://momentjs.com/docs/#/displaying/calendar-time/ | |||
#: src/models.js:107 src/utils.js:426 | |||
#: src/models.js:107 src/utils.js:427 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this line changed in src/utils
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran an update, probably it was lacking an update.
locale/texts.pot
Outdated
@@ -48,7 +48,7 @@ msgid "[Last] dddd [•] HH:mm" | |||
msgstr "" | |||
|
|||
#: src/models.js:107 | |||
#: src/utils.js:426 | |||
#: src/utils.js:427 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this changed? You didn't change src/utils
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran an update, probably it was lacking an update.
src/sagas/nanoContract.js
Outdated
@@ -45,7 +46,8 @@ export const failureMessage = { | |||
walletNotReadyError: t`Wallet is not ready yet to register a Nano Contract.`, | |||
addressNotMine: t`The informed address does not belong to the wallet.`, | |||
nanoContractStateNotFound: t`Nano Contract not found.`, | |||
nanoContractStateFailure: t`Error while trying to get Nano Contract state.`, | |||
nanoContractFailure: t`Error while trying register Nano Contract.`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nanoContractFailure: t`Error while trying register Nano Contract.`, | |
nanoContractFailure: t`Error while trying to register Nano Contract.`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed: 003a3f8
Acceptance Criteria
This is important because the "/state" endpoint is not consistent as it can return "not found" while the new nano contract was not confirmed by a block.
Closes: #510
Security Checklist