Skip to content

Commit 34853d2

Browse files
lisickyvsubhuman
andauthored
Apply suggestions from code review
Co-authored-by: Ruslan Dudin <vantuz-subhuman@yandex.ru>
1 parent 64fbf17 commit 34853d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rust/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,8 @@ impl TransactionBody {
345345

346346
/// !!! DEPRECATED !!!
347347
/// Returns a Option<Slot32> (u32) value in case the underlying original Option<BigNum> (u64) value is within the limits.
348-
/// Otherwise will just return JsError.
348+
/// Otherwise will just raise an error.
349+
/// Use `.validity_start_interval_bignum` instead.
349350
#[deprecated(
350351
since = "10.1.0",
351352
note = "Possible boundary error. Use validity_start_interval_bignum instead"
@@ -1662,7 +1663,8 @@ impl TimelockStart {
16621663

16631664
/// !!! DEPRECATED !!!
16641665
/// Returns a Slot32 (u32) value in case the underlying original BigNum (u64) value is within the limits.
1665-
/// Otherwise will just return JsError.
1666+
/// Otherwise will just raise an error.
1667+
/// Use `.slot_bignum` instead
16661668
#[deprecated(
16671669
since = "10.1.0",
16681670
note = "Possible boundary error. Use slot_bignum instead"

0 commit comments

Comments
 (0)