Skip to content

Commit

Permalink
style: use expression syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dtscalac committed May 9, 2024
1 parent 953784e commit 9c6c56f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ class ShelleyAddress {
}

/// Serializes the type as cbor.
CborValue toCbor() {
return CborBytes(bytes);
}
CborValue toCbor() => CborBytes(bytes);

@override
int get hashCode => Object.hash(bytes.hashCode, hrp);
Expand Down

0 comments on commit 9c6c56f

Please sign in to comment.