Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tíghearnán Carroll committed Apr 5, 2022
1 parent c7e2cd5 commit 12df91b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions service/envelopes.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,11 @@ func (e *envelopes) Envelope(ctx context.Context, args payd.EnvelopeArgs, req dp
return nil, errors.Wrapf(err, "failed to sign tx %s", tx.String())
}

spvEnvelope := &spv.Envelope{
RawTx: tx.String(),
TxID: tx.TxID(),
}

// Create the spv envelope for the tx.
s, err := e.spvc.CreateEnvelope(ctx, tx)
spvEnvelope, err := e.spvc.CreateEnvelope(ctx, tx)
if err != nil {
return nil, errors.Wrapf(err, "failed to create spv envelope for tx %s", tx.String())
}
spvEnvelope = s

txCreate := payd.TransactionCreate{
TxID: tx.TxID(),
Expand Down

0 comments on commit 12df91b

Please sign in to comment.