Open woywoy123 opened 4 years ago
hey @woywoy123 I tried the original example with security_level
1 and 2, they both fail bundle validation with signature error, however with security_level=3
everything is great.
I'll have to investigate for the root cause more as I'm not yet familiar with multisigs. Maybe @todofixthis has a better understanding of multisigs in PyOTA?
@lzpap glad to hear that this is actually a valid bug. Does this also occur with the java implementation?
@kwek20 any idea about the java multisig implementation?
@woywoy123 it might also be that the bug is in the python lib bundle validator, not in the way PyOTA handles multisigs.
We have this one as an example: https://github.com/iotaledger/iota-java/blob/dev/jota/src/test/java/org/iota/jota/IotaMultisigTest.java
I just tested it for multisig with sec 2, 1 and 1, and it doesnt work, but for a different reason :D Ive never tested it for sec != 3 :o
Ill investigate and let you know @lzpap
I think I may have found another bug in the multisignature segment. When I try to add in multiple beneficiaries in a Tx it works (sec=3) but I cant specify individual token value transfers. To make this clearer; I have 3 beneficiaries: A1, A2, A3 I want to pay; A1(2i), A2(3i), A3(4i) But when I try to include value parameters I cant add more than 1 value at a time. :P
Hi @woywoy123 could you log the above as a separate issue?
The code above is a slight modification of [1], when you set the security levels and the digests exactly like in [1] this code will work. But when you generate a multisignature address from only 2 digests with security level 1 on each this wont work. Anyone come across this issue?
[1]. https://github.com/iotaledger/iota.py/blob/develop/examples/multisig.py