Skip to content
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

check_spendable_deprecated usage when receiving ecash tokens #532

Open
FiliTol opened this issue May 14, 2024 · 0 comments
Open

check_spendable_deprecated usage when receiving ecash tokens #532

FiliTol opened this issue May 14, 2024 · 0 comments

Comments

@FiliTol
Copy link

FiliTol commented May 14, 2024

The setup used is the following:

  • Mint is a self hosted mint, running nutshell version 0.15.3
  • Mint is running behind tor
  • Mint is reachable and info requests are returning all the details of the mint
  • Mobile wallet in use is Minibits, with onion mints option enabled

Using the minibits wallet, I can pay invoices and receive LN sats, thus minting and melting is working fine.
If trying to receive tokens, the following error is raised in Minibits:

Mint returned error on request to swap the received ecash. TypeError: Network request failed.

The following is the TRACE that comes up in the journalctl of nutshell every time I try to receive some tokens minted with this onion mint in a cashu wallet. To make it more readable I formatted with newlines, but this is a single log entry.

mag 14 14:41:45 raspibolt poetry[375589]: 2024-05-14 14:41:45.75 | TRACE | 
cashu.mint.router_deprecated:check_spendable_deprecated:345 | > POST /check: proofs=[Proof(id='', amount=0, 
secret='grfpfwefcesgyT/NTke0PWu07hk8stouKGmnkp/6AkgBEU=', 
Y='02f13d4ddf1bderghfws64baed853e9ded6aa5271e445f38130373d5bba871d021', C='', dleq=None, witness='', reserved=False, 
send_id='', time_created='', time_reserved='', derivation_path='', mint_id=None, melt_id=None), Proof(id='', amount=0, 
secret='flD0q1yWvhkcjybnWQcDi7M3EKb8uhUOGy0uerWe/KG4=', 
Y='022bb98a59e9f60e33a57d568771466ea062267bf0ErTtwad36ae766e8394ea66e15', C='', dleq=None, witness='', reserved=False, 
send_id='', time_created='', time_reserved='', derivation_path='', mint_id=None, melt_id=None), Proof(id='', amount=0, 
secret='tYWEXwqOxiTEMtPfQCcn9YB4k7wrastrs65fy6sYF1dmnrE=', 
Y='021b661aa8ce3e2c7c8ee5ff57a6aa4e36c345tg39cbbe4161fbe2d648d62c85a8', C='', dleq=None, witness='', reserved=False, 
send_id='', time_created='', time_reserved='', derivation_path='', mint_id=None, melt_id=None), Proof(id='', amount=0, 
secret='Tej+xuW0O3cnsI7ZgjwW4U3GYJyIOjK3RTWVKQBZZ64=', 
Y='0207ba90bf86afa8aae6541d1da7687ac38awfgse657b64e75d217fef9480b287c7d271', C='', dleq=None, witness='', reserved=False, 
send_id='', time_created='', time_reserved='', derivation_path='', mint_id=None, melt_id=None), Proof(id='', amount=0, 
secret='kFa2xeeK10yJffl55z/IOOPbJtZ+AIeQ4PkcAdFRTAWKOg=', 
Y='02989eab14d29dfd6e914ef7f81a61666a856ef561a76345r7245483eca6c262720b', C='', dleq=None, witness='', reserved=False, 
send_id='', time_created='', time_reserved='', derivation_path='', mint_id=None, melt_id=None)]

Note that I purposefully slightly changed the values of secret and Y in the pasted logs. No other values have been deleted or modified.

@FiliTol FiliTol changed the title check_spendable_deprecated usage when receiving ecash tokens check_spendable_deprecated usage when receiving ecash tokens May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant