This commit is contained in:
Andrew Dirksen
2019-04-24 09:26:52 +01:00
committed by Yeastplume
parent 47ee03cadd
commit bff07eb3f5
6 changed files with 22 additions and 20 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ pub fn run_doctest_foreign(
let mut api_foreign = Foreign::new(wallet1.clone());
api_foreign.doctest_mode = true;
let foreign_api = &api_foreign as &dyn ForeignRpc;
Ok(foreign_api.handle_request(request))
Ok(foreign_api.handle_request(request).as_option())
}
#[doc(hidden)]
+1 -1
View File
@@ -1202,7 +1202,7 @@ pub fn run_doctest_owner(
let mut api_owner = Owner::new(wallet1.clone());
api_owner.doctest_mode = true;
let owner_api = &api_owner as &dyn OwnerRpc;
Ok(owner_api.handle_request(request))
Ok(owner_api.handle_request(request).as_option())
}
#[doc(hidden)]