We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
for p2pk script we may have some invalid pubkey:
https://www.blockchain.com/explorer/transactions/btc/41a3e9ee1910a2d40dd217bbc9fd3638c40d13c8fdda8a0aa9d49a2b4a199422
In utxo import cmd, using default address:
#2094
The text was updated successfully, but these errors were encountered:
@jolestar
in rooch-types/src/bitcoin/types.rs:
impl From<bitcoin::TxOut> for TxOut { fn from(tx_out: bitcoin::TxOut) -> Self { let address_opt = bitcoin::address::Payload::from_script(&tx_out.script_pubkey).ok(); Self { value: tx_out.value.to_sat(), script_pubkey: tx_out.script_pubkey.into(), recipient_address: address_opt .map(|address| address.into()) .unwrap_or_default(), } } }
If we cannot get the addresss will use default(empty vec) , in move contract:
empty address will be transfer to bitcoin_move_addresss, as same as new changes in import process #2094 when we meet invalid address
Sorry, something went wrong.
baichuan3
popcnt1
No branches or pull requests
for p2pk script we may have some invalid pubkey:
https://www.blockchain.com/explorer/transactions/btc/41a3e9ee1910a2d40dd217bbc9fd3638c40d13c8fdda8a0aa9d49a2b4a199422
In utxo import cmd, using default address:
#2094
The text was updated successfully, but these errors were encountered: