-
Notifications
You must be signed in to change notification settings - Fork 76
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
temporary check_spend_proof fix #74
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$txid = 'd77b32a3dfb3a1f549100e4831f225f4b4be7ccb854982c14dd7048f624cb2f1'; $txid2 = '9c1e5ba94e50cd51d809ed013b6cc593a484b8991fcbaacf2edf4af69f6d3212'; $wat = $walletRPC->get_spend_proof( $txid ); echo 'get_spend_proof: ', PHP_EOL; print_r( $wat ); $wat2 = $walletRPC->check_spend_proof( $txid2, $wat['signature'] ); echo 'check_spend_proof: ', PHP_EOL; print_r( $wat2 ); ... This will return good=>false now, rather than throwing an exception because of 'incorrect signature size'
Hello, I can not accept this fixing because the library CAN'T return a non-rpc array. It should return the answer from RPC response. |
I agree. I'll try to get it fixed at the root. |
itssteven
added a commit
to itssteven/monero
that referenced
this pull request
May 6, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 17, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
stoffu
pushed a commit
to stoffu/monero
that referenced
this pull request
Jun 19, 2018
My intention is to mitigate monero-project#3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: monero-integrations/monerophp#72 & my temp fix: monero-integrations/monerophp#74
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will return good=>false now, rather than throwing an exception because of 'incorrect signature size'