ElementsProject / ElementsProject/elements

RawBlindRawTransaction jrpc2Errors

Aperta
#1,076 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
1.2k
Fork
416
Merge medio
1g 23h
PR unite (30g)
15

Descrizione

I'm trying to call `rawblindrawtransaction` from my jrpc2.0 library.

Elementsd returns the error `-8:Unknown named parameter inputamountblinders`

The raw request I send is:
```json
{"jsonrpc":"2.0","method":"rawblindrawtransaction","params":{"hexstring":"longhex...","ignoreblindfail":true,"inputamount":[100000],"inputamountblinders":["89aaaea292f84f8e2cbc0b2c4fdd0c93226fec6aeb6f9ca422bf31d62da47ada"],"inputasset":["25b251070e29ca19043cf33ccd7324e2ddab03ecc4ae0b5e77c4fc0e5cf6c95a"],"inputassetblinder":["e3880a1dc357e782987e3df8e0776f102bdb5d41b94d22263da9aae60ba0f4f5"]},"id":14}
```

When I remove inputamountblinders I get the error `-1:JSON value is not an array as expected`

Where the raw request was:
```json
{"jsonrpc":"2.0","method":"rawblindrawtransaction","params":{"hexstring":"longhex...","ignoreblindfail":true,"inputamount":[100000],"inputasset":["25b251070e29ca19043cf33ccd7324e2ddab03ecc4ae0b5e77c4fc0e5cf6c95a"],"inputassetblinder":["9f9d2a667ebf6faa82eafe04aa9426d85b70ae366b752ea6d3449f0baacfade9"]},"id":14}
```

Is the serialization by the jrpc client wrong?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.