Walletwasabi: v1.1.12rc - LedgerNanoS finalized input script validation error for combined UTXO txs

Created on 18 Jul 2020  路  8Comments  路  Source: zkSNACKs/WalletWasabi

General Description

Looks like my previous time-out issues in #3931 #3936 have been partly resolved (updated dotnet-core, reboot, also shorter usb-cable), so I tested again if signing with Ledger-NanoS hardware wallet would work.
Now the txs review displays correctly on the hardware wallet (firmware 1.6.0, app version bitcoin-testnet 1.4.2), when approving and signing a large transaction a different error shows up in WasabiWallet.
The selected coins are outputs of a CoinJoin with Anonset 2, I've tried with several different input selections.
Sending a single UTXO (unmixed/mixed) successfully worked, so this is related to the combining of UTXO/CoinJoin outputs.

How To Reproduce?

  1. Go to 'Send', prepare a transaction.
  2. Click on 'Send Transaction'
  3. Approve transaction on Hardware Wallet.
  4. See error

Screenshots

image
Combined CJ UTXO, with error!
2020-07-18 02 09 53
image
Single UTXO (unmixed/mixed), with success!

Operating System

Win10 Version 10.0.18363 Build 18363

Logs

Two selected coins:

2020-07-18 02:02:32 INFO TransactionFactory (108) Calculating dynamic transaction fee...
2020-07-18 02:02:32 INFO TransactionFactory (176) Fee: 178 Satoshi.
2020-07-18 02:02:32 INFO TransactionFactory (179) Estimated tx size: 178 vBytes.
2020-07-18 02:02:32 INFO TransactionFactory (219) Signing transaction...
2020-07-18 02:02:32 INFO TransactionFactory (307) Transaction is successfully built: a7b46414d47b7c9fb3dccf1f641e24672fb709f9beb1391bbf73b4c3f02db318.
2020-07-18 02:03:12 ERROR SendControlViewModel (361) NBitcoin.PSBTException: Input 0: The finalized input script does not properly validate "NullFail"
Input 1: The finalized input script does not properly validate "NullFail"
at NBitcoin.PSBT.Finalize()
at WalletWasabi.Hwi.HwiClient.SignTxImplAsync(Nullable1 deviceType, String devicePath, Nullable1 fingerprint, PSBT psbt, CancellationToken cancel)
at WalletWasabi.Hwi.HwiClient.SignTxAsync(HDFingerprint fingerprint, PSBT psbt, CancellationToken cancel)
at WalletWasabi.Gui.Controls.WalletExplorer.SendTabViewModel.BuildTransaction(String password, PaymentIntent payments, FeeStrategy feeStrategy, Boolean allowUnconfirmed, IEnumerable`1 allowedInputs)
at WalletWasabi.Gui.Controls.WalletExplorer.SendControlViewModel.<.ctor>b__28_29()

Five selected coins:

2020-07-18 01:59:24 INFO TransactionFactory (108) Calculating dynamic transaction fee...
2020-07-18 01:59:24 INFO TransactionFactory (176) Fee: 450 Satoshi.
2020-07-18 01:59:24 INFO TransactionFactory (179) Estimated tx size: 450 vBytes.
2020-07-18 01:59:24 INFO TransactionFactory (219) Signing transaction...
2020-07-18 01:59:24 INFO TransactionFactory (307) Transaction is successfully built: ad7ea426fc671fac9a311bdc07b7351d9f2c87732c05655a8ea3d57d24ca7f82.
2020-07-18 01:59:40 ERROR SendControlViewModel (361) WalletWasabi.Hwi.Exceptions.HwiException: Could not find device with specified fingerprint
at WalletWasabi.Hwi.HwiClient.ThrowIfError(String responseString, IEnumerable1 options, String arguments, Int32 exitCode) at WalletWasabi.Hwi.HwiClient.SendCommandAsync(IEnumerable1 options, Nullable1 command, String commandArguments, Boolean openConsole, CancellationToken cancel, Boolean isRecursion, Action1 standardInputWriter)
at WalletWasabi.Hwi.HwiClient.SendCommandAsync(IEnumerable1 options, Nullable1 command, String commandArguments, Boolean openConsole, CancellationToken cancel, Boolean isRecursion, Action1 standardInputWriter) at WalletWasabi.Hwi.HwiClient.SignTxImplAsync(Nullable1 deviceType, String devicePath, Nullable1 fingerprint, PSBT psbt, CancellationToken cancel) at WalletWasabi.Hwi.HwiClient.SignTxAsync(HDFingerprint fingerprint, PSBT psbt, CancellationToken cancel) at WalletWasabi.Gui.Controls.WalletExplorer.SendTabViewModel.BuildTransaction(String password, PaymentIntent payments, FeeStrategy feeStrategy, Boolean allowUnconfirmed, IEnumerable1 allowedInputs)
at WalletWasabi.Gui.Controls.WalletExplorer.SendControlViewModel.<.ctor>b__28_29()
2020-07-18 01:59:47 INFO TransactionFactory (108) Calculating dynamic transaction fee...
2020-07-18 01:59:47 INFO TransactionFactory (176) Fee: 450 Satoshi.
2020-07-18 01:59:48 INFO TransactionFactory (179) Estimated tx size: 450 vBytes.
2020-07-18 01:59:48 INFO TransactionFactory (219) Signing transaction...
2020-07-18 01:59:48 INFO TransactionFactory (307) Transaction is successfully built: a073ee6fbf5e64d8edc71c103299c0d0106784c271cf9c555c96b4a42745de15.
2020-07-18 02:00:37 ERROR SendControlViewModel (361) NBitcoin.PSBTException: Input 0: The finalized input script does not properly validate "NullFail"
Input 1: The finalized input script does not properly validate "NullFail"
Input 2: The finalized input script does not properly validate "NullFail"
Input 3: The finalized input script does not properly validate "NullFail"
Input 4: The finalized input script does not properly validate "NullFail"
Input 5: The finalized input script does not properly validate "NullFail"
at NBitcoin.PSBT.Finalize()
at WalletWasabi.Hwi.HwiClient.SignTxImplAsync(Nullable1 deviceType, String devicePath, Nullable1 fingerprint, PSBT psbt, CancellationToken cancel)
at WalletWasabi.Hwi.HwiClient.SignTxAsync(HDFingerprint fingerprint, PSBT psbt, CancellationToken cancel)
at WalletWasabi.Gui.Controls.WalletExplorer.SendTabViewModel.BuildTransaction(String password, PaymentIntent payments, FeeStrategy feeStrategy, Boolean allowUnconfirmed, IEnumerable`1 allowedInputs)
at WalletWasabi.Gui.Controls.WalletExplorer.SendControlViewModel.<.ctor>b__28_29()

Wasabi Version

v1.1.12rc

debug priority

Most helpful comment

@molnard these UTXO were indeed the result of mixing into the HWW via commandline, from earlier testnet tests.

All 8 comments

Interesting, I started investigations.

@kravens did you mix into that HW with the daemon?

@molnard these UTXO were indeed the result of mixing into the HWW via commandline, from earlier testnet tests.

I could repro. Ledger signs the tx without errors and gives back to Wasabi. Then NBitcoin fails to Finalize.

One by one I can send the coins without an issue.

image

The guilty TX

{{
  "fee": "0.00000481 BTC",
  "feeRate": "1 Sat/B",
  "tx": {
    "hash": "e1478c479f659781bf1da7fc0d24d3801140d26ad1609df5b587f37585966255",
    "ver": 1,
    "vin_sz": 6,
    "vout_sz": 2,
    "lock_time": 0,
    "size": 318,
    "in": [
      {
        "prev_out": {
          "hash": "ac65e533a94733184e61a71a1269c77775bca514edd285499590f3c763cb7a1b",
          "n": 2
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "960b4a5502e351131ebca2ea0e2b241f4cb10bca6efc5e1c9adac6a163b8873b",
          "n": 2
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "321bee4fc64563709b4ee01715b925179c104bc349d1eb84e7a138dcd044ef6c",
          "n": 2
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "960b4a5502e351131ebca2ea0e2b241f4cb10bca6efc5e1c9adac6a163b8873b",
          "n": 1
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "62249aeac9e953307d3fe36e6194c52b6dd8cb69e42dc67da90e53f3761f94e4",
          "n": 0
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "ab94df68396586112db7d8660fc28114a06ebb1c915fd5fec3394c20d0bcbada",
          "n": 2
        },
        "scriptSig": ""
      }
    ],
    "out": [
      {
        "value": "0.00001000",
        "scriptPubKey": "0 835afabeafb5604532bff90cbf1fec30079c5101"
      },
      {
        "value": "0.21216000",
        "scriptPubKey": "0 1e37df8f5030c6c0daca0854ae56803536731982"
      }
    ]
  },
  "inputs": [
    {
      "index": 0,
      "partial_signatures": {
        "0252d80564fbdf9e0bd6dd81ed191bf61ac97c43657e6f584f3454a02b7cc6042a": "304402203db5e95af5ee768eb5e49d69be34d385639cce8158a5ecc09dd858d5274dd23702207ea5f812e5c10b4bb2095773d5412b40bf41e3ba6e0924655d8fc557cc26eaa701"
      },
      "non_witness_utxo": {
        "hash": "ac65e533a94733184e61a71a1269c77775bca514edd285499590f3c763cb7a1b",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 185,
        "in": [
          {
            "prev_out": {
              "hash": "585c504ec83947a9bf75710956f18fb3370ff2d745fbf0467befcca0bd480f04",
              "n": 2
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "32928a71fd592e3f29796d5c6f8964b16123186fbbe62a8a97c48d70c7bf8836",
              "n": 1
            },
            "scriptSig": ""
          }
        ],
        "out": [
          {
            "value": "0.00042957",
            "scriptPubKey": "0 aefcd956ceff42d2b7e1ee222091a05b30b45373"
          },
          {
            "value": "0.00042957",
            "scriptPubKey": "0 b38be642b8b873d95e4f04383585b85f3bb2938f"
          },
          {
            "value": "0.04956775",
            "scriptPubKey": "0 79021be517ea84a71106cd7b562ee392d931f607"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.04956775",
        "scriptPubKey": "0 79021be517ea84a71106cd7b562ee392d931f607"
      },
      "bip32_derivs": [
        {
          "pubkey": "0252d80564fbdf9e0bd6dd81ed191bf61ac97c43657e6f584f3454a02b7cc6042a",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/23"
        }
      ]
    },
    {
      "index": 1,
      "partial_signatures": {
        "0274e2407dd0d201b67fb8b325c940e211cfb8b3360c2bca0e3efea08c562393ad": "3045022100e280814ff410f5721f1aa20ded7909d93c6b330212418ed721a89abc63c5c76702204b5638eba48c5f2f12846357c9ac1de7baa736fda4578fabeee95f68fc454e2a01"
      },
      "non_witness_utxo": {
        "hash": "960b4a5502e351131ebca2ea0e2b241f4cb10bca6efc5e1c9adac6a163b8873b",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 401,
        "in": [
          {
            "prev_out": {
              "hash": "d9140fe98314faaf529425cd5bda46437ee0262549640f97f6a854ba1ad0db97",
              "n": 1
            },
            "scriptSig": "",
            "witness": "3044022003da1292a6f97b0cca6b7fc947cbb6a64531a605f9aca7648ab1fda03180eaa4022018813dc5f259ac2e29a59ab877e06246a038fd0b61300f9d5b07ef0c43a433a801 021319674bef54e34297bb4bc54077de0ff8ff784cd9940bb02af2cc60a641d9a6"
          },
          {
            "prev_out": {
              "hash": "65b40d87aef8c281bf3d5d915ce58799f1fa00b7457150864306862752d7e0b4",
              "n": 1
            },
            "scriptSig": "",
            "witness": "3044022074ad31496777cee51f9115fbc96d79f838d536ba0298b8f3237876ccf13ed67502200a99b4f5a5836fd57111c304d4e90eabbfd44bb3e0c4d9cc013d7ada2bcb020301 023b9e8a4a0f7b5e3bf5d1680273a461392f2927ce6fb906c28608346938c226ea"
          }
        ],
        "out": [
          {
            "value": "0.00016049",
            "scriptPubKey": "0 1ac40845bbe4353461622822d0895d50554c60c7"
          },
          {
            "value": "0.00016049",
            "scriptPubKey": "0 0440f79b102a44a5e4e795b4ef609ce747a0d5a5"
          },
          {
            "value": "0.00023141",
            "scriptPubKey": "0 774722c98afe8a7331506ac76e34634a2ebc0399"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.00023141",
        "scriptPubKey": "0 774722c98afe8a7331506ac76e34634a2ebc0399"
      },
      "bip32_derivs": [
        {
          "pubkey": "0274e2407dd0d201b67fb8b325c940e211cfb8b3360c2bca0e3efea08c562393ad",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/25"
        }
      ]
    },
    {
      "index": 2,
      "partial_signatures": {
        "03be33e1bc83db948124602a0eab9ee4d34808745b2bc043aeb2c36c3bc57f2081": "3045022100a5cea4d41ce41fae2c4cc745b630f6819a6e6748ace8d495574ec9b6519784c402200452be3321eec5599a4aa2f3c9805cc8f3e436527fadbfa10d945a56893a623501"
      },
      "non_witness_utxo": {
        "hash": "321bee4fc64563709b4ee01715b925179c104bc349d1eb84e7a138dcd044ef6c",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 185,
        "in": [
          {
            "prev_out": {
              "hash": "f36051760bb0e73ea930e2773ab64b419fd044981c5d79dda01289ef467c2ae9",
              "n": 0
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "74011b2698af4044c8626dd775fb4f4dd48ef9fa8bf79454bb8d31873eca6ca2",
              "n": 1
            },
            "scriptSig": ""
          }
        ],
        "out": [
          {
            "value": "0.00012522",
            "scriptPubKey": "0 c593a5add14617d2fb9dbb571c2cc61b58b96d65"
          },
          {
            "value": "0.00012522",
            "scriptPubKey": "0 9772796dde576d8700423264f4ab6fa99330fe40"
          },
          {
            "value": "0.11229198",
            "scriptPubKey": "0 2bdca90a76c80e60d5356021f8b91d5291690a50"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.11229198",
        "scriptPubKey": "0 2bdca90a76c80e60d5356021f8b91d5291690a50"
      },
      "bip32_derivs": [
        {
          "pubkey": "03be33e1bc83db948124602a0eab9ee4d34808745b2bc043aeb2c36c3bc57f2081",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/21"
        }
      ]
    },
    {
      "index": 3,
      "partial_signatures": {
        "03b5da04c2a282ab994882bb2a26cbfe244535a0ffabdc9e6e0ee6a0333b476be9": "3045022100e3712fcda8c993df7e8d6c147934bb078f56410330dd1625ea5e2c8190a98cb202201e5fff1fb9c10720f623d0c7da8590952d81366e5e1435df36a1f31f2547112e01"
      },
      "non_witness_utxo": {
        "hash": "960b4a5502e351131ebca2ea0e2b241f4cb10bca6efc5e1c9adac6a163b8873b",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 401,
        "in": [
          {
            "prev_out": {
              "hash": "d9140fe98314faaf529425cd5bda46437ee0262549640f97f6a854ba1ad0db97",
              "n": 1
            },
            "scriptSig": "",
            "witness": "3044022003da1292a6f97b0cca6b7fc947cbb6a64531a605f9aca7648ab1fda03180eaa4022018813dc5f259ac2e29a59ab877e06246a038fd0b61300f9d5b07ef0c43a433a801 021319674bef54e34297bb4bc54077de0ff8ff784cd9940bb02af2cc60a641d9a6"
          },
          {
            "prev_out": {
              "hash": "65b40d87aef8c281bf3d5d915ce58799f1fa00b7457150864306862752d7e0b4",
              "n": 1
            },
            "scriptSig": "",
            "witness": "3044022074ad31496777cee51f9115fbc96d79f838d536ba0298b8f3237876ccf13ed67502200a99b4f5a5836fd57111c304d4e90eabbfd44bb3e0c4d9cc013d7ada2bcb020301 023b9e8a4a0f7b5e3bf5d1680273a461392f2927ce6fb906c28608346938c226ea"
          }
        ],
        "out": [
          {
            "value": "0.00016049",
            "scriptPubKey": "0 1ac40845bbe4353461622822d0895d50554c60c7"
          },
          {
            "value": "0.00016049",
            "scriptPubKey": "0 0440f79b102a44a5e4e795b4ef609ce747a0d5a5"
          },
          {
            "value": "0.00023141",
            "scriptPubKey": "0 774722c98afe8a7331506ac76e34634a2ebc0399"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.00016049",
        "scriptPubKey": "0 0440f79b102a44a5e4e795b4ef609ce747a0d5a5"
      },
      "bip32_derivs": [
        {
          "pubkey": "03b5da04c2a282ab994882bb2a26cbfe244535a0ffabdc9e6e0ee6a0333b476be9",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/26"
        }
      ]
    },
    {
      "index": 4,
      "partial_signatures": {
        "03afc7b2550e8d3c27eddf0e4d1192eeec2a19b92304a689b95c96821b9193d330": "304302205ea24a80705c424910bfa763fd6407db3cd9ad187c2672120b38c76717bce207021f702c68e5df595e312b91670788cf2390f52c101f2e6e6c5777dce404114fdf01"
      },
      "non_witness_utxo": {
        "hash": "62249aeac9e953307d3fe36e6194c52b6dd8cb69e42dc67da90e53f3761f94e4",
        "ver": 1,
        "vin_sz": 4,
        "vout_sz": 1,
        "lock_time": 0,
        "size": 205,
        "in": [
          {
            "prev_out": {
              "hash": "ac65e533a94733184e61a71a1269c77775bca514edd285499590f3c763cb7a1b",
              "n": 0
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "ab94df68396586112db7d8660fc28114a06ebb1c915fd5fec3394c20d0bcbada",
              "n": 0
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "a5225b1e3ef475846d336428523ede7994e0fb3dab556da007e0b65741e921ac",
              "n": 0
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "321bee4fc64563709b4ee01715b925179c104bc349d1eb84e7a138dcd044ef6c",
              "n": 0
            },
            "scriptSig": ""
          }
        ],
        "out": [
          {
            "value": "0.00104077",
            "scriptPubKey": "0 1a0152b513288e1b8fa35b5e5d46814d0461ca84"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.00104077",
        "scriptPubKey": "0 1a0152b513288e1b8fa35b5e5d46814d0461ca84"
      },
      "bip32_derivs": [
        {
          "pubkey": "03afc7b2550e8d3c27eddf0e4d1192eeec2a19b92304a689b95c96821b9193d330",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/0/7"
        }
      ]
    },
    {
      "index": 5,
      "partial_signatures": {
        "02cc27a87c36bd642160b2e56c177e716302f99d132673d49f38c1c190ee254d51": "30440220014a18869faa771921ddcdd4611b5bc56acc51560f27638cf0993050a19e7dfc02203c9b33f55ea1157766c90f35424a3d829f48b7a51046ab2a8bc0125f3ce3429401"
      },
      "non_witness_utxo": {
        "hash": "ab94df68396586112db7d8660fc28114a06ebb1c915fd5fec3394c20d0bcbada",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 185,
        "in": [
          {
            "prev_out": {
              "hash": "a33df807fac0e31b332202a96c60de0dffa5ae41e5179e26f15cdb0d40ed611e",
              "n": 1
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "3fe76be3371dd9b7da00fa1e74393629f0aa7cca999a1b6cf963bcea72cfb57c",
              "n": 0
            },
            "scriptSig": ""
          }
        ],
        "out": [
          {
            "value": "0.00012494",
            "scriptPubKey": "0 5f704ea85c99ec211100ac80def2b9ddc9cc1543"
          },
          {
            "value": "0.00012494",
            "scriptPubKey": "0 9772796dde576d8700423264f4ab6fa99330fe40"
          },
          {
            "value": "0.04888241",
            "scriptPubKey": "0 28572f5479c7feb1d20f04511a81d2dd3eb4f552"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.04888241",
        "scriptPubKey": "0 28572f5479c7feb1d20f04511a81d2dd3eb4f552"
      },
      "bip32_derivs": [
        {
          "pubkey": "02cc27a87c36bd642160b2e56c177e716302f99d132673d49f38c1c190ee254d51",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/33"
        }
      ]
    }
  ],
  "outputs": [
    {
      "bip32_derivs": []
    },
    {
      "bip32_derivs": []
    }
  ]
}}

Original PSBT

{{
  "fee": "0.00000481 BTC",
  "feeRate": "1 Sat/B",
  "tx": {
    "hash": "e1478c479f659781bf1da7fc0d24d3801140d26ad1609df5b587f37585966255",
    "ver": 1,
    "vin_sz": 6,
    "vout_sz": 2,
    "lock_time": 0,
    "size": 318,
    "in": [
      {
        "prev_out": {
          "hash": "ac65e533a94733184e61a71a1269c77775bca514edd285499590f3c763cb7a1b",
          "n": 2
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "960b4a5502e351131ebca2ea0e2b241f4cb10bca6efc5e1c9adac6a163b8873b",
          "n": 2
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "321bee4fc64563709b4ee01715b925179c104bc349d1eb84e7a138dcd044ef6c",
          "n": 2
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "960b4a5502e351131ebca2ea0e2b241f4cb10bca6efc5e1c9adac6a163b8873b",
          "n": 1
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "62249aeac9e953307d3fe36e6194c52b6dd8cb69e42dc67da90e53f3761f94e4",
          "n": 0
        },
        "scriptSig": ""
      },
      {
        "prev_out": {
          "hash": "ab94df68396586112db7d8660fc28114a06ebb1c915fd5fec3394c20d0bcbada",
          "n": 2
        },
        "scriptSig": ""
      }
    ],
    "out": [
      {
        "value": "0.00001000",
        "scriptPubKey": "0 835afabeafb5604532bff90cbf1fec30079c5101"
      },
      {
        "value": "0.21216000",
        "scriptPubKey": "0 1e37df8f5030c6c0daca0854ae56803536731982"
      }
    ]
  },
  "inputs": [
    {
      "index": 0,
      "partial_signatures": {},
      "non_witness_utxo": {
        "hash": "ac65e533a94733184e61a71a1269c77775bca514edd285499590f3c763cb7a1b",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 185,
        "in": [
          {
            "prev_out": {
              "hash": "585c504ec83947a9bf75710956f18fb3370ff2d745fbf0467befcca0bd480f04",
              "n": 2
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "32928a71fd592e3f29796d5c6f8964b16123186fbbe62a8a97c48d70c7bf8836",
              "n": 1
            },
            "scriptSig": ""
          }
        ],
        "out": [
          {
            "value": "0.00042957",
            "scriptPubKey": "0 aefcd956ceff42d2b7e1ee222091a05b30b45373"
          },
          {
            "value": "0.00042957",
            "scriptPubKey": "0 b38be642b8b873d95e4f04383585b85f3bb2938f"
          },
          {
            "value": "0.04956775",
            "scriptPubKey": "0 79021be517ea84a71106cd7b562ee392d931f607"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.04956775",
        "scriptPubKey": "0 79021be517ea84a71106cd7b562ee392d931f607"
      },
      "bip32_derivs": [
        {
          "pubkey": "0252d80564fbdf9e0bd6dd81ed191bf61ac97c43657e6f584f3454a02b7cc6042a",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/23"
        }
      ]
    },
    {
      "index": 1,
      "partial_signatures": {},
      "non_witness_utxo": {
        "hash": "960b4a5502e351131ebca2ea0e2b241f4cb10bca6efc5e1c9adac6a163b8873b",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 401,
        "in": [
          {
            "prev_out": {
              "hash": "d9140fe98314faaf529425cd5bda46437ee0262549640f97f6a854ba1ad0db97",
              "n": 1
            },
            "scriptSig": "",
            "witness": "3044022003da1292a6f97b0cca6b7fc947cbb6a64531a605f9aca7648ab1fda03180eaa4022018813dc5f259ac2e29a59ab877e06246a038fd0b61300f9d5b07ef0c43a433a801 021319674bef54e34297bb4bc54077de0ff8ff784cd9940bb02af2cc60a641d9a6"
          },
          {
            "prev_out": {
              "hash": "65b40d87aef8c281bf3d5d915ce58799f1fa00b7457150864306862752d7e0b4",
              "n": 1
            },
            "scriptSig": "",
            "witness": "3044022074ad31496777cee51f9115fbc96d79f838d536ba0298b8f3237876ccf13ed67502200a99b4f5a5836fd57111c304d4e90eabbfd44bb3e0c4d9cc013d7ada2bcb020301 023b9e8a4a0f7b5e3bf5d1680273a461392f2927ce6fb906c28608346938c226ea"
          }
        ],
        "out": [
          {
            "value": "0.00016049",
            "scriptPubKey": "0 1ac40845bbe4353461622822d0895d50554c60c7"
          },
          {
            "value": "0.00016049",
            "scriptPubKey": "0 0440f79b102a44a5e4e795b4ef609ce747a0d5a5"
          },
          {
            "value": "0.00023141",
            "scriptPubKey": "0 774722c98afe8a7331506ac76e34634a2ebc0399"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.00023141",
        "scriptPubKey": "0 774722c98afe8a7331506ac76e34634a2ebc0399"
      },
      "bip32_derivs": [
        {
          "pubkey": "0274e2407dd0d201b67fb8b325c940e211cfb8b3360c2bca0e3efea08c562393ad",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/25"
        }
      ]
    },
    {
      "index": 2,
      "partial_signatures": {},
      "non_witness_utxo": {
        "hash": "321bee4fc64563709b4ee01715b925179c104bc349d1eb84e7a138dcd044ef6c",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 185,
        "in": [
          {
            "prev_out": {
              "hash": "f36051760bb0e73ea930e2773ab64b419fd044981c5d79dda01289ef467c2ae9",
              "n": 0
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "74011b2698af4044c8626dd775fb4f4dd48ef9fa8bf79454bb8d31873eca6ca2",
              "n": 1
            },
            "scriptSig": ""
          }
        ],
        "out": [
          {
            "value": "0.00012522",
            "scriptPubKey": "0 c593a5add14617d2fb9dbb571c2cc61b58b96d65"
          },
          {
            "value": "0.00012522",
            "scriptPubKey": "0 9772796dde576d8700423264f4ab6fa99330fe40"
          },
          {
            "value": "0.11229198",
            "scriptPubKey": "0 2bdca90a76c80e60d5356021f8b91d5291690a50"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.11229198",
        "scriptPubKey": "0 2bdca90a76c80e60d5356021f8b91d5291690a50"
      },
      "bip32_derivs": [
        {
          "pubkey": "03be33e1bc83db948124602a0eab9ee4d34808745b2bc043aeb2c36c3bc57f2081",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/21"
        }
      ]
    },
    {
      "index": 3,
      "partial_signatures": {},
      "non_witness_utxo": {
        "hash": "960b4a5502e351131ebca2ea0e2b241f4cb10bca6efc5e1c9adac6a163b8873b",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 401,
        "in": [
          {
            "prev_out": {
              "hash": "d9140fe98314faaf529425cd5bda46437ee0262549640f97f6a854ba1ad0db97",
              "n": 1
            },
            "scriptSig": "",
            "witness": "3044022003da1292a6f97b0cca6b7fc947cbb6a64531a605f9aca7648ab1fda03180eaa4022018813dc5f259ac2e29a59ab877e06246a038fd0b61300f9d5b07ef0c43a433a801 021319674bef54e34297bb4bc54077de0ff8ff784cd9940bb02af2cc60a641d9a6"
          },
          {
            "prev_out": {
              "hash": "65b40d87aef8c281bf3d5d915ce58799f1fa00b7457150864306862752d7e0b4",
              "n": 1
            },
            "scriptSig": "",
            "witness": "3044022074ad31496777cee51f9115fbc96d79f838d536ba0298b8f3237876ccf13ed67502200a99b4f5a5836fd57111c304d4e90eabbfd44bb3e0c4d9cc013d7ada2bcb020301 023b9e8a4a0f7b5e3bf5d1680273a461392f2927ce6fb906c28608346938c226ea"
          }
        ],
        "out": [
          {
            "value": "0.00016049",
            "scriptPubKey": "0 1ac40845bbe4353461622822d0895d50554c60c7"
          },
          {
            "value": "0.00016049",
            "scriptPubKey": "0 0440f79b102a44a5e4e795b4ef609ce747a0d5a5"
          },
          {
            "value": "0.00023141",
            "scriptPubKey": "0 774722c98afe8a7331506ac76e34634a2ebc0399"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.00016049",
        "scriptPubKey": "0 0440f79b102a44a5e4e795b4ef609ce747a0d5a5"
      },
      "bip32_derivs": [
        {
          "pubkey": "03b5da04c2a282ab994882bb2a26cbfe244535a0ffabdc9e6e0ee6a0333b476be9",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/26"
        }
      ]
    },
    {
      "index": 4,
      "partial_signatures": {},
      "non_witness_utxo": {
        "hash": "62249aeac9e953307d3fe36e6194c52b6dd8cb69e42dc67da90e53f3761f94e4",
        "ver": 1,
        "vin_sz": 4,
        "vout_sz": 1,
        "lock_time": 0,
        "size": 205,
        "in": [
          {
            "prev_out": {
              "hash": "ac65e533a94733184e61a71a1269c77775bca514edd285499590f3c763cb7a1b",
              "n": 0
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "ab94df68396586112db7d8660fc28114a06ebb1c915fd5fec3394c20d0bcbada",
              "n": 0
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "a5225b1e3ef475846d336428523ede7994e0fb3dab556da007e0b65741e921ac",
              "n": 0
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "321bee4fc64563709b4ee01715b925179c104bc349d1eb84e7a138dcd044ef6c",
              "n": 0
            },
            "scriptSig": ""
          }
        ],
        "out": [
          {
            "value": "0.00104077",
            "scriptPubKey": "0 1a0152b513288e1b8fa35b5e5d46814d0461ca84"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.00104077",
        "scriptPubKey": "0 1a0152b513288e1b8fa35b5e5d46814d0461ca84"
      },
      "bip32_derivs": [
        {
          "pubkey": "03afc7b2550e8d3c27eddf0e4d1192eeec2a19b92304a689b95c96821b9193d330",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/0/7"
        }
      ]
    },
    {
      "index": 5,
      "partial_signatures": {},
      "non_witness_utxo": {
        "hash": "ab94df68396586112db7d8660fc28114a06ebb1c915fd5fec3394c20d0bcbada",
        "ver": 1,
        "vin_sz": 2,
        "vout_sz": 3,
        "lock_time": 0,
        "size": 185,
        "in": [
          {
            "prev_out": {
              "hash": "a33df807fac0e31b332202a96c60de0dffa5ae41e5179e26f15cdb0d40ed611e",
              "n": 1
            },
            "scriptSig": ""
          },
          {
            "prev_out": {
              "hash": "3fe76be3371dd9b7da00fa1e74393629f0aa7cca999a1b6cf963bcea72cfb57c",
              "n": 0
            },
            "scriptSig": ""
          }
        ],
        "out": [
          {
            "value": "0.00012494",
            "scriptPubKey": "0 5f704ea85c99ec211100ac80def2b9ddc9cc1543"
          },
          {
            "value": "0.00012494",
            "scriptPubKey": "0 9772796dde576d8700423264f4ab6fa99330fe40"
          },
          {
            "value": "0.04888241",
            "scriptPubKey": "0 28572f5479c7feb1d20f04511a81d2dd3eb4f552"
          }
        ]
      },
      "witness_utxo": {
        "value": "0.04888241",
        "scriptPubKey": "0 28572f5479c7feb1d20f04511a81d2dd3eb4f552"
      },
      "bip32_derivs": [
        {
          "pubkey": "02cc27a87c36bd642160b2e56c177e716302f99d132673d49f38c1c190ee254d51",
          "master_fingerprint": "a573b895",
          "path": "84'/0'/0'/1/33"
        }
      ]
    }
  ],
  "outputs": [
    {
      "bip32_derivs": []
    },
    {
      "bip32_derivs": []
    }
  ]
}}

Do someone has a failing psbt in base64 or base16?

Tested this scenario with Trezor T and I don't get any errors.

@lontivero

HEX

70736274ff01007b0100000002758a1dfa1649c49f6b271b27770c350175d944c861a929db316821fdfa0c940f0000000000ffffffff040dda5d1c3c0e8c8cd6e6f849ee4f06a7a4b154bff9cb4726b128825a6d3c900000000000ffffffff018897000000000000160014c6236ab9791ad86a26deb50bc9154ecd554bf306000000000001011f433e000000000000160014a42546a6c3f3e675106efb5e3fc184264fcc55c801005201000000013b87b863a1c6da9a1c5efc6eca0bb14c1f242b0eeaa2bc1e1351e302554a0b960100000000ffffffff01433e000000000000160014a42546a6c3f3e675106efb5e3fc184264fcc55c800000000220202b6e30ca83db050b219df40cf98eb1d195594b66b64692c015c95ab30af49e9a9473044022025614f438983482e240abc66ed57b12d3df16a30399f83258d33761a95a1e97602205264d517b1eb995577fd6a8691d9fdf42d2165ab16707f4edf6494a2da6d825201220602b6e30ca83db050b219df40cf98eb1d195594b66b64692c015c95ab30af49e9a918a573b89554000080000000800000008000000000090000000001011ff759000000000000160014de8f70203c9b8ce207483da4441b1ea9e3f6d9d601005201000000013b87b863a1c6da9a1c5efc6eca0bb14c1f242b0eeaa2bc1e1351e302554a0b960200000000ffffffff01f759000000000000160014de8f70203c9b8ce207483da4441b1ea9e3f6d9d600000000220203b5741363662fece29e6cebff497d3b883f025408b5843b5c4791a7f34b97f5cb48304502210096eab04e4607dd5b26401494e32cc0d4c8b9012b92c6578c251fcadfc3f84ec8022059ea8cf61f645789dbd518cca619520f22a37d2558633f00ca8b6aab26150d3401220603b5741363662fece29e6cebff497d3b883f025408b5843b5c4791a7f34b97f5cb18a573b8955400008000000080000000800000000008000000002202022c9a180435eb0c83f35b30ce9ab61e59f4c94cb1c1e09c9ba30d552e45d2aa7918a573b895540000800000008000000080000000000a00000000

BASE64

cHNidP8BAHsBAAAAAnWKHfoWScSfaycbJ3cMNQF12UTIYakp2zFoIf36DJQPAAAAAAD/////BA3aXRw8DoyM1ub4Se5PBqeksVS/+ctHJrEoglptPJAAAAAAAP////8BiJcAAAAAAAAWABTGI2q5eRrYaibetQvJFU7NVUvzBgAAAAAAAQEfQz4AAAAAAAAWABSkJUamw/PmdRBu+14/wYQmT8xVyAEAUgEAAAABO4e4Y6HG2pocXvxuyguxTB8kKw7qorweE1HjAlVKC5YBAAAAAP////8BQz4AAAAAAAAWABSkJUamw/PmdRBu+14/wYQmT8xVyAAAAAAiAgK24wyoPbBQshnfQM+Y6x0ZVZS2a2RpLAFclaswr0npqUcwRAIgJWFPQ4mDSC4kCrxm7VexLT3xajA5n4MljTN2GpWh6XYCIFJk1Rex65lVd/1qhpHZ/fQtIWWrFnB/Tt9klKLabYJSASIGArbjDKg9sFCyGd9Az5jrHRlVlLZrZGksAVyVqzCvSempGKVzuJVUAACAAAAAgAAAAIAAAAAACQAAAAABAR/3WQAAAAAAABYAFN6PcCA8m4ziB0g9pEQbHqnj9tnWAQBSAQAAAAE7h7hjocbamhxe/G7KC7FMHyQrDuqivB4TUeMCVUoLlgIAAAAA/////wH3WQAAAAAAABYAFN6PcCA8m4ziB0g9pEQbHqnj9tnWAAAAACICA7V0E2NmL+zinmzr/0l9O4g/AlQItYQ7XEeRp/NLl/XLSDBFAiEAluqwTkYH3VsmQBSU4yzA1Mi5ASuSxleMJR/K38P4TsgCIFnqjPYfZFeJ29UYzKYZUg8io30lWGM/AMqLaqsmFQ00ASIGA7V0E2NmL+zinmzr/0l9O4g/AlQItYQ7XEeRp/NLl/XLGKVzuJVUAACAAAAAgAAAAIAAAAAACAAAAAAiAgIsmhgENesMg/NbMM6ath5Z9MlMscHgnJujDVUuRdKqeRilc7iVVAAAgAAAAIAAAACAAAAAAAoAAAAA

Was this page helpful?
0 / 5 - 0 ratings

Related issues

UkolovaOlga picture UkolovaOlga  路  3Comments

the-metalworker picture the-metalworker  路  3Comments

molnard picture molnard  路  3Comments

gabridome picture gabridome  路  3Comments

nopara73 picture nopara73  路  3Comments