Comments (4)
Yes there seems to be a problem in the verify method, will take a look into it.
from bitcoinlib.
It's the sign method, it doesn't sign the second input because it uses the same key.
You can sign it like this to workaround this issue:
t.sign(private, tid=0)
t.sign(private, tid=1)
from bitcoinlib.
Your code should work as expected after this branch is merged:
https://github.com/1200wd/bitcoinlib/tree/fix-duplicate-key-inputs
from bitcoinlib.
Thanks a lot! I'm trying this way before going to another branch.
Regards!
from bitcoinlib.
Related Issues (20)
- Error parsing bitcoin testnet transaction HOT 1
- Asynchronous Version? HOT 1
- Error in transaction parsing: Incorrect pubkeyhash length HOT 8
- Send BTC
- getting error: "no such column: transaction_inputs.witnesses" HOT 5
- Error creating wallet from wif HOT 1
- I am encountering an issue with retrieving UTXO and balance values. Please help. HOT 1
- Error in transaction (sign and send): Please help. HOT 4
- Payment gateway for my marketplace
- Return failed transaction
- Getting error "non-mandatory-script-verify-flag (Witness program hash mismatch)" when trying to send raw signed transaction HOT 2
- local bitcoind provider, getting error "No wallet is loaded."
- Invalid Addresses? HOT 1
- bitcoinlib.scripts.ScriptError: Expected a sequence of 69 bytes, got 70 HOT 3
- sighash problems HOT 3
- Add a Electrum rivate server service
- When update bitcoinlib version, can't use previous database
- Can't use Wallet scan() and utxos_update() functions at version 0.7.0b1 because of sql errors HOT 1
- Call to RFC6979 needs another argument added
- Wallet.scan() datetime timezone issue while reading transactions from Cache HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoinlib.