Skip to content

Commit

Permalink
Avoid printing extrinsic in TransactionMessage (#1728)
Browse files Browse the repository at this point in the history
  • Loading branch information
arijitAD committed Aug 14, 2021
1 parent 9a76d39 commit d2965ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/network/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (tm *TransactionMessage) Type() byte {

// String returns the TransactionMessage extrinsics
func (tm *TransactionMessage) String() string {
return fmt.Sprintf("TransactionMessage extrinsics=%x", tm.Extrinsics)
return fmt.Sprintf("TransactionMessage extrinsics count=%d", len(tm.Extrinsics))
}

// Encode will encode TransactionMessage using scale.Encode
Expand Down

0 comments on commit d2965ac

Please sign in to comment.