Skip to content

Commit 205ee18

Browse files
ToktarAndrew Nikitin
authored and
Andrew Nikitin
committed
Merge pull request hyperledger#1308 from KitHat/INDY-1954
INDY-1954 Add multisig check
1 parent f00cff6 commit 205ee18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plenum/server/request_handlers/get_txn_handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def get_result(self, request: Request):
5050
break
5151
if state_root is not None:
5252
multi_sig = self.database_manager.bls_store.get(state_root)
53-
txn.result[MULTI_SIGNATURE] = multi_sig.as_dict()
53+
if multi_sig:
54+
txn.result[MULTI_SIGNATURE] = multi_sig.as_dict()
5455
except KeyError:
5556
txn = None
5657

0 commit comments

Comments
 (0)