on master help sign in
fix: Compose where changes.compose(empty_other)
bfb6cffBlaž Hrastnik
helix-core/src/transaction.rs+3
@@ -132,6 +132,9 @@ impl ChangeSet {
132 if self.changes.is_empty() {
132 if self.changes.is_empty() {
133 return other;
133 return other;
134 }
134 }
135+ if other.changes.is_empty() {
136+ return self;
137+ }
135
138
136 let len = self.changes.len();
139 let len = self.changes.len();
137
140