OSDN Git Service

Update transact.go
authoricodezjb <icodezjb@163.com>
Fri, 27 Oct 2017 06:01:53 +0000 (14:01 +0800)
committerGitHub <noreply@github.com>
Fri, 27 Oct 2017 06:01:53 +0000 (14:01 +0800)
blockchain/transact.go

index d1337d5..f22236b 100644 (file)
@@ -210,7 +210,7 @@ func (a *BlockchainReactor) finalizeTxWait(ctx context.Context, txTemplate *txbu
        localHeight := a.chain.Height()
        generatorHeight := localHeight
 
-       log.WithField("localHeight:", localHeight).Info()
+       log.WithField("localHeight", localHeight).Info("Starting to finalize transaction")
        // Remember this height in case we retry this submit call.
        /*height, err := recordSubmittedTx(ctx, a.db, txTemplate.Transaction.ID, generatorHeight)
        if err != nil {