org.bitcoinj.core.ScriptException: P2SH script execution resulted in a non-true stack

GitHub | tbocek | 9 months ago
  1. 0

    this crashes the app, should give an error message. NFC transfer, happens once a while

    GitHub | 9 months ago | tbocek
    org.bitcoinj.core.ScriptException: P2SH script execution resulted in a non-true stack

    Root Cause Analysis

    1. org.bitcoinj.core.ScriptException

      P2SH script execution resulted in a non-true stack

      at org.bitcoinj.script.Script.correctlySpends()
    2. org.bitcoinj.script
      Script.correctlySpends
      1. org.bitcoinj.script.Script.correctlySpends(Script.java:1469)
      2. org.bitcoinj.script.Script.correctlySpends(Script.java:1404)
      2 frames
    3. org.bitcoinj.core
      TransactionInput.verify
      1. org.bitcoinj.core.TransactionInput.verify(TransactionInput.java:440)
      2. org.bitcoinj.core.TransactionInput.verify(TransactionInput.java:420)
      2 frames
    4. ch.papers.payments
      NFCClient$1$3.run
      1. ch.papers.payments.communications.peers.steps.PaymentFinalSignatureSendStep.process(PaymentFinalSignatureSendStep.java:73)
      2. ch.papers.payments.communications.peers.nfc.NFCClient$1$3.run(NFCClient.java:158)
      2 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame