Skip to content

Commit 68f2260

Browse files
committed
Switch to with forwarder address
1 parent 4e8a14d commit 68f2260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/txm/clientwrappers/dualbroadcast/meta_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func (a *MetaClient) SendTransaction(ctx context.Context, tx *types.Transaction,
159159
}
160160

161161
if meta != nil && meta.DualBroadcast != nil && *meta.DualBroadcast && !tx.IsPurgeable && meta.DualBroadcastParams != nil && meta.FwdrDestAddress != nil {
162-
meta, err := a.SendRequest(ctx, tx, attempt, *meta.DualBroadcastParams, *meta.FwdrDestAddress)
162+
meta, err := a.SendRequest(ctx, tx, attempt, *meta.DualBroadcastParams, tx.ToAddress)
163163
if err != nil {
164164
return fmt.Errorf("error sending request for transactionID(%d): %w", tx.ID, err)
165165
}

0 commit comments

Comments
 (0)