additionalSignedExtension method
Implementation
@override
(String, bool) additionalSignedExtension(String extension, Map info) {
switch (extension) {
case 'CheckMortality':
return (info['blockHash'], true);
case 'CheckSpecVersion':
return (info['specVersion'], true);
case 'CheckTxVersion':
return (info['transactionVersion'], true);
case 'CheckGenesis':
return (info['genesisHash'], true);
case 'CheckMetadataHash':
return (info['metadataHash'], true);
default:
return ('', false);
}
}