Skip to content

Commit 1f282a0

Browse files
committed
Added comment
1 parent 601867d commit 1f282a0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

rust/pkg/cardano_serialization_lib.js.flow

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2800,6 +2800,9 @@ declare export class NativeScript {
28002800
as_timelock_expiry(): TimelockExpiry | void;
28012801

28022802
/**
2803+
* Returns an array of unique Ed25519KeyHashes
2804+
* contained within this script recursively on any depth level.
2805+
* The order of the keys in the result is not determined in any way.
28032806
* @returns {Ed25519KeyHashes}
28042807
*/
28052808
get_required_signers(): Ed25519KeyHashes;

rust/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,10 @@ impl NativeScript {
17251725
}
17261726
}
17271727

1728-
pub fn get_required_signers(&self) -> RequiredSigners {
1728+
/// Returns an array of unique Ed25519KeyHashes
1729+
/// contained within this script recursively on any depth level.
1730+
/// The order of the keys in the result is not determined in any way.
1731+
pub fn get_required_signers(&self) -> Ed25519KeyHashes {
17291732
Ed25519KeyHashes(
17301733
RequiredSignersSet::from(self).iter()
17311734
.map(|k| { k.clone() }).collect()

0 commit comments

Comments
 (0)