Skip to content

Commit 26e638c

Browse files
committed
add precisionloss error
1 parent 7b027b7 commit 26e638c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pallets/subtensor/src/macros/errors.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,5 +266,7 @@ mod errors {
266266
InvalidRootClaimThreshold,
267267
/// Exceeded subnet limit number or zero.
268268
InvalidSubnetNumber,
269+
/// Unintended precision loss when unstaking alpha
270+
PrecisionLoss,
269271
}
270272
}

0 commit comments

Comments
 (0)