This reworks the createrawssrtx handler to use the CreateRevocationFromTicket function from the stake package rather than creating the transaction directly. It also adds additional error handling on the transaction input: - The input must be a ticket submission output (output index 0) - The input amount must equal the ticket submission amount |
||
|---|---|---|
| .. | ||
| testdata | ||
| doc.go | ||
| interface.go | ||
| log.go | ||
| README.md | ||
| rpcserver_test.go | ||
| rpcserver.go | ||
| rpcserverhandlers_test.go | ||
| rpcserverhelp_test.go | ||
| rpcserverhelp.go | ||
| rpcwebsocket.go | ||
| treasury_test.go | ||