Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
justkawal committed Feb 18, 2024
1 parent 821830d commit 2b5eb26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/polkadart/lib/multisig/multisig.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Multisig {

final expectedTxHash = Hasher.blake2b256.hash(signedTx);
final actualHash = await submitExtrinsic(provider, signedTx);

final isMatched = hex.encode(expectedTxHash) == hex.encode(actualHash);
assertion(isMatched,
'The expected hash and the actual hash of the approval transaction does not match.');
Expand Down Expand Up @@ -147,7 +147,8 @@ class Multisig {
return false;
}

if (multisigStorage.isOwner(signer.publicKey.bytes.toUint8List()) == false) {
if (multisigStorage.isOwner(signer.publicKey.bytes.toUint8List()) ==
false) {
throw OwnerCallException('Only the owner can cancel the multisig call.');
}

Expand Down

0 comments on commit 2b5eb26

Please sign in to comment.