From 1cae0a7a596ecbea4101ca8143c65a4c30055e1d Mon Sep 17 00:00:00 2001 From: Will Winder Date: Mon, 23 Oct 2023 08:51:43 -0400 Subject: [PATCH] update follower node error messages. --- node/follower_node.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/follower_node.go b/node/follower_node.go index b7fb81065b..66790b1291 100644 --- a/node/follower_node.go +++ b/node/follower_node.go @@ -226,17 +226,17 @@ func (node *AlgorandFollowerNode) Ledger() *data.Ledger { // BroadcastSignedTxGroup errors in follower mode func (node *AlgorandFollowerNode) BroadcastSignedTxGroup(_ []transactions.SignedTxn) (err error) { - return fmt.Errorf("cannot broadcast txns in sync mode") + return fmt.Errorf("cannot broadcast txns in follower mode") } // AsyncBroadcastSignedTxGroup errors in follower mode func (node *AlgorandFollowerNode) AsyncBroadcastSignedTxGroup(_ []transactions.SignedTxn) (err error) { - return fmt.Errorf("cannot broadcast txns in sync mode") + return fmt.Errorf("cannot broadcast txns in follower mode") } // BroadcastInternalSignedTxGroup errors in follower mode func (node *AlgorandFollowerNode) BroadcastInternalSignedTxGroup(_ []transactions.SignedTxn) (err error) { - return fmt.Errorf("cannot broadcast internal signed txn group in sync mode") + return fmt.Errorf("cannot broadcast internal signed txn group in follower mode") } // Simulate speculatively runs a transaction group against the current