From 81ec47f2a2e86273b5664fbb737347c26933a366 Mon Sep 17 00:00:00 2001 From: Ryan Staudt Date: Thu, 10 Jun 2021 07:34:54 -0500 Subject: [PATCH] rpcserver: Fix createrawssrtx comments. This updates a couple of comments within createrawssrtx to properly refer to SSRtx outputs/transactions rather than SSGen. --- internal/rpcserver/rpcserver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/rpcserver/rpcserver.go b/internal/rpcserver/rpcserver.go index 4cbd1475..6503bf4d 100644 --- a/internal/rpcserver/rpcserver.go +++ b/internal/rpcserver/rpcserver.go @@ -955,7 +955,7 @@ func handleCreateRawSSRtx(_ context.Context, s *Server, cmd interface{}) (interf } // 1. Fetch the SStx, then calculate all the values we'll need later - // for the generation of the SSGen tx outputs. + // for the generation of the SSRtx tx outputs. // // Convert the provided transaction hash hex to a chainhash.Hash. input := c.Inputs[0] @@ -1044,7 +1044,7 @@ func handleCreateRawSSRtx(_ context.Context, s *Server, cmd interface{}) (interf _, ssrtxOutScript = addr.PayRevokeCommitmentScript() } - // Add the txout to our SSGen tx. + // Add the txout to our SSRtx tx. amt := ssrtxCalcAmts[i] if !feeApplied && int64(feeAmt) < amt { amt -= int64(feeAmt)