Skip to content

Commit 517818e

Browse files
dmidemPaulLaux
authored andcommitted
Drop unnecessary Hasher::finish() in AssetBase::hash
1 parent a80b5fa commit 517818e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/note/asset_base.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ impl AssetBase {
177177
impl Hash for AssetBase {
178178
fn hash<H: Hasher>(&self, h: &mut H) {
179179
h.write(&self.to_bytes());
180-
h.finish();
181180
}
182181
}
183182

0 commit comments

Comments
 (0)