@@ -469,7 +469,7 @@ var sendCmd = &cobra.Command{
469469
470470 // Append the signer since it's a rekey txn
471471 if basics .Address (addr ) == stx .Txn .Sender {
472- reportWarnln ("Warning:" + rekeySenderTargetSameError )
472+ reportWarnln (rekeySenderTargetSameError )
473473 }
474474 stx .AuthAddr = basics .Address (addr )
475475 }
@@ -557,7 +557,7 @@ var rawsendCmd = &cobra.Command{
557557 for _ , txn := range txgroup {
558558 txnErrors [txn .ID ()] = err .Error ()
559559 }
560- reportWarnf ("Warning: " + errorBroadcastingTX , err )
560+ reportWarnf (errorBroadcastingTX , err )
561561 continue
562562 }
563563
@@ -584,7 +584,7 @@ var rawsendCmd = &cobra.Command{
584584 txn , err := client .PendingTransactionInformation (txidStr )
585585 if err != nil {
586586 txnErrors [txid ] = err .Error ()
587- reportWarnf ("Warning: " + errorRequestFail , err )
587+ reportWarnf (errorRequestFail , err )
588588 continue
589589 }
590590
@@ -595,7 +595,7 @@ var rawsendCmd = &cobra.Command{
595595
596596 if txn .PoolError != "" {
597597 txnErrors [txid ] = txn .PoolError
598- reportWarnf ("Warning: " + txPoolError , txidStr , txn .PoolError )
598+ reportWarnf (txPoolError , txidStr , txn .PoolError )
599599 continue
600600 }
601601
@@ -950,13 +950,13 @@ func assembleFile(fname string, printWarnings bool) (program []byte) {
950950
951951 if printWarnings && len (ops .Warnings ) != 0 {
952952 for _ , warning := range ops .Warnings {
953- reportWarnln (warning .Error ())
953+ reportWarnRawln (warning .Error ())
954954 }
955955 plural := "s"
956956 if len (ops .Warnings ) == 1 {
957957 plural = ""
958958 }
959- reportWarnf ("%d warning%s" , len (ops .Warnings ), plural )
959+ reportWarnRawf ("%d warning%s" , len (ops .Warnings ), plural )
960960 }
961961
962962 return ops .Program
0 commit comments