1

I have a Transaction object which has three signatures. I want to remove one of them. Is that possible?

Since it's an array, I've tried using pop but that isn't updating it.

Any ideas on how I could do this?

edit: I was using the Typescript web3.js library.

1
  • 2
    It'll help if you post a code example or even just say what language you are using
    – KevinH
    Oct 24, 2023 at 21:54

1 Answer 1

0

it doesn't really make sense ? Why would you like to remove a signature ? Signatures are added automaticaly (with null) when they are needed, and you have to sign transaction to add the signature data. If you remove a signature, the transaction will fail for a missing signature. If you think that there is a signature that should not be included in the transaction, check your instructions, this account might be used to pay some fees or something similar, and that's why it is included in the transaction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.