Andrea Bonel
Andrea Bonel
Replaced by https://github.com/ElementsProject/ELIPs/pull/3
Yes, it seems to happen in bitcoin too. I've prepared a bash script that reproduces it, as close as possible. About `signrawtransactionwithkey`, the key is mandatory so it doesn't work.
Maybe this one https://github.com/bitcoin/bitcoin/issues/21151? It's a very similar case.
Seems like I'm not able to reproduce the crash. When I tried I got this response { “psbt”: “cHNldP8BAgQCAAAAAQMEAAAAAAEEAQEBBQEDAfsEAgAAAAABDiAqrJ9c31tcJHnWDjQWJNUfArZMJr1w1h7/S6GIMG31DwEPBAAAAAABEAT/////AAEEFgAUBFTPa7NoO3V+jzsjbmvRlQwcOWoBAwgA4fUFAAAAAAf8BHBzZXQCINMRFPznA5TB+dNUdQG0udNvQgI27GQZkVRWZDSIWs8tAAEEFgAU+a3P0cB6H1+r8pR099KXbz20PbwBAwgAAAAAAAAAAAf8BHBzZXQCICWyUQcOKcoZBDzzPM1zJOLdqwPsxK4LXnfE/A5c9slaB/wEcHNldAYhAv2YM9xdvR/Mxx+ulKcSzcom+JQpzsV/hrxKHexk7BYYB/wEcHNldAgEAAAAAAABBAABAwjoAwAAAAAAAAf8BHBzZXQCICWyUQcOKcoZBDzzPM1zJOLdqwPsxK4LXnfE/A5c9slaAA==”, “complete”: false }
I tested with elements 0.21.0.2, in regtest What version of elements are you using? Which network?
I tried again with 0.21.0.1 and still no crash, I'm wondering what the difference is... What's your elements config and command line for the daemon?
here's a more complete script to reproduce it: ``` #!/bin/bash -x set -e shopt -s expand_aliases alias e1="$HOME/opt/elements/bin/elements-cli -datadir=$HOME/elementsdir1" alias e1-dae="$HOME/opt/elements/bin/elementsd -datadir=$HOME/elementsdir1" e1 stop || true rm -rf "$HOME/elementsdir1/elementsregtest" mkdir...
and the result I got: 
Here's a back trace of the crash: ``` (gdb) bt #0 BlindPSBT (psbt=..., our_input_data=..., our_issuances_to_blind=...) at blindpsbt.cpp:554 #1 0x0000555555a4be09 in CWallet::WalletBlindPSBT (this=, psbtx=...) at wallet/wallet.cpp:2823 #2 0x00005555559e9dd3 in ::operator()(const JSONRPCRequest...