Permalink
Browse files

display anon inputs

  • Loading branch information...
random-zebra committed Jan 14, 2019
1 parent 009002c commit 76155541771a7e6fda25bb42f534040e2faa4897
Showing with 3 additions and 1 deletion.
  1. +3 −1 api/worker.go
@@ -123,7 +123,9 @@ func (w *Worker) GetTransaction(txid string, spendingTxs bool) (*Tx, error) {
vin.N = i
vin.Vout = bchainVin.Vout
vin.Sequence = int64(bchainVin.Sequence)
if bchainVin.Txid == "0000000000000000000000000000000000000000000000000000000000000000" {
if bchainVin.Type_str == "anon" {
vin.Addresses = []string{"RingCT Anon input"}
} else if bchainVin.Txid == "0000000000000000000000000000000000000000000000000000000000000000" {
if bchainVin.Type_str == "zerocoinspend" {
// zerocoin spend
vin.ScriptSig.Hex = "0xc2"

0 comments on commit 7615554

Please sign in to comment.