diff --git a/bitcoinspv/README.md b/bitcoinspv/README.md index 1d8c614..f9074b6 100644 --- a/bitcoinspv/README.md +++ b/bitcoinspv/README.md @@ -5,4 +5,4 @@ The code is adapted from [https://github.com/babylonchain/vigilante/tree/dev/rep This relayer is responsible for: - syncing the latest BTC blocks with a BTC node -- detecting and reporting inconsistency between BTC blockchain and Babylon BTCLightclient header chain \ No newline at end of file +- detecting and reporting inconsistency between BTC blockchain and Lightclient header chain \ No newline at end of file diff --git a/bitcoinspv/block_handler.go b/bitcoinspv/block_handler.go index b01eed3..b62e7cb 100644 --- a/bitcoinspv/block_handler.go +++ b/bitcoinspv/block_handler.go @@ -111,7 +111,7 @@ func (r *Reporter) handleConnectedBlocks(event *types.BlockEvent) error { headersToProcess = append(headersToProcess, ib) if len(headersToProcess) == 0 { - r.logger.Debug("No new headers to submit to Babylon") + r.logger.Debug("No new headers to submit to Native light client") return nil } diff --git a/bitcoinspv/utils.go b/bitcoinspv/utils.go index 29f651b..f24b274 100644 --- a/bitcoinspv/utils.go +++ b/bitcoinspv/utils.go @@ -75,7 +75,7 @@ func (r *Reporter) submitHeaderMsgs(msg []*wire.BlockHeader) error { return err } r.logger.Infof( - "Successfully submitted %d headers to Babylon", len(msg), + "Successfully submitted %d headers to light client", len(msg), ) return nil }) @@ -151,7 +151,7 @@ func (r *Reporter) extractAndSubmitTransactions(ib *types.IndexedBlock) (int, er "Successfully constructed MsgSpvProof %v", msgSpvProof, ) - // submit the checkpoint to Babylon + // submit the checkpoint to light client res, err := r.nativeClient.VerifySPV(&msgSpvProof) if err != nil { r.logger.Errorf("Failed to submit MsgInsertBTCSpvProof with error %v", err)