Skip to content

Commit ec24e7c

Browse files
committed
Add TODO
1 parent dfc278f commit ec24e7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/contracts.rs

+1
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ impl Contract {
228228

229229
// Add extra fields.
230230
for (key, value) in extra_fields.into_iter() {
231+
//TODO(stevenroose) should we check the keys of all recursive objects?
231232
check_key(&key)?;
232233
if props.insert(key.into(), value).is_some() {
233234
return Err(Error::InvalidContract("extra field reused key from details"));

0 commit comments

Comments
 (0)