Truncate function is removed
This commit is contained in:
parent
017441b55e
commit
7584d064cb
|
@ -9,13 +9,6 @@ library Authorities {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function truncate (address[] storage self, uint len) internal {
|
||||
for (uint i = len; i < self.length; i++) {
|
||||
delete self[i];
|
||||
}
|
||||
self.length = len;
|
||||
}
|
||||
}
|
||||
|
||||
/// Library used only to test Signer library via rpc calls
|
||||
|
|
Loading…
Reference in New Issue