Skip to content

Commit 244ccee

Browse files
committed
use unified error
1 parent 6317843 commit 244ccee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rpc/methods/chain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ impl RpcMethod<1> for ChainGetTipSetV2 {
997997
type Ok = Tipset;
998998

999999
async fn handle(_: Ctx<impl Blockstore>, _: Self::Params) -> Result<Self::Ok, ServerError> {
1000-
Err(anyhow::anyhow!("Filecoin.ChainGetTipSet for V2 is not yet implemented").into())
1000+
Err(ServerError::unsupported_method())
10011001
}
10021002
}
10031003

0 commit comments

Comments
 (0)