Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions node/follower_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down